How to get the value of only the first column of the selected rows?
How to get the value of only the first column of the selected rows?
khmelev77
Posts: 6Questions: 3Answers: 0
Hello.
How to get the value of only the first column of the selected rows?
At the moment I get the selected rows the following code:
var selectedData = table.rows('.selected').data();
This discussion has been closed.
Answers
This thread explains how to do this:
https://datatables.net/forums/discussion/44657
Kevin
How can I adapt it to my code? I get some errors when trying
Where
2
is the column number you want.What are the errors?
Kevin