row data on button action
row data on button action

How do I access the data for the selected row on click of a table Button
buttons: [
{
text: 'Download PDF',
action: function (e, dt, node, config) {
alert(dt[BillingHeaderID]);
}
}
]
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
If you are using the Select extension see this example:
https://datatables.net/extensions/select/examples/api/get.html
Kevin
perfect. thanks