DT 1.10 Selected row id
DT 1.10 Selected row id
deliator
Posts: 95Questions: 1Answers: 0
Hello,
Is my example, when i push on the print button, i need to get each row id value(age in this case) from the selected rows
live.datatables.net/tuyigizu/6/watch
Actually i get only one result.
Thanks,
Marc
This discussion has been closed.
Replies
You were using
table.row
instead oftable.rows
.Also, this example uses
pluck
to pick out the ages of the selected rows.This gives you an API instance that is array-like that you can iterate or do what you need to do with it.
http://live.datatables.net/retazamu/3/edit
Thanks, it works fine :-)