want to get the rows of the current page without data
want to get the rows of the current page without data

want to get the rows of the current page without data
This question has accepted answers - jump to:
This discussion has been closed.
want to get the rows of the current page without data
This question has accepted answers - jump to:
Answers
Instead of
table.rows( {page:'current'} ).data()
you want to usetable.rows( {page:'current'} )
to get just the rows. Is this what you are asking for?Kevin
http://live.datatables.net/yuqicuni/3/edit
in this test case the log value is _Api(1)
but i want the array of the rows dom elements that is all the trs of the current page
See if the
rows().nodes()
API is what you are looking for.Kevin
yeah Thanks Kevin
@kthorngren , what is the event handler that gets called on clicking on the different page
The events are documented here:
https://datatables.net/reference/event/
The
page
event is trigger for each page.Kevin