How to add a delete button

How to add a delete button

tricoloretricolore Posts: 3Questions: 0Answers: 0
edited July 2012 in General
Hi, I am new and just downloaded DataTables. I am making my way around modifying it to look and behave the way I want. I am having a hard time finding syntax on how to add a Delete button next to each row in the table. So the user can just click on the delete button to delete a data record appearing in the table.

I tried adding a button inside a but it choked on it.

I appreciate any assistance.
Thanks

Replies

  • allanallan Posts: 63,538Questions: 1Answers: 10,476 Site admin
    Have a look at this example, which shows how sDefaultContent can be used: http://editor.datatables.net/release/DataTables/extras/Editor/examples/inlineControls.html

    Allan
  • tricoloretricolore Posts: 3Questions: 0Answers: 0
    Thank you Allan, I appreciate it.
This discussion has been closed.