Access selected rows with custom button
Access selected rows with custom button
klingler
Posts: 90Questions: 42Answers: 2
Good day (o;
I've seen the example of adding a custom button to datatables editor and would like to know:
How can I disable the button if no row is selected?
How do I actually get the data of the selected rows? I see only the data() API call which returns all rows...
thanks in advance
richard
This discussion has been closed.
Answers
You can use
selectedorselectedSingle. See this example.This example shows how to get selected rows.
Kevin
Hello Kevin
Thanks....works great :-)
Using something like: