Edit the code
Edit the code
sander
Posts: 1Questions: 1Answers: 0
How can I add a button to my table that remove the select items to textbox below the table.
(http://www.scornelis.be/S-LlnAdm/test3.php)
Ex. 1 Select the first en third record.
Under the table in the textbox: Claeys Robin, Lootens Bram
Thanks!
This discussion has been closed.
Answers
You can bind and event when you click the table row which would collect the data using the api's available, then remove the row and append the data to your text box.
Get data from row: http://datatables.net/reference/api/row().data()
Remove row: http://datatables.net/reference/api/row().remove()