How to know visible rows in a tables in latest datatables
How to know visible rows in a tables in latest datatables
Jithu123
Posts: 8Questions: 6Answers: 0
Can anyone explain how to visible rows in tables with latest datatables?
I would like to know number rows visible and its data as well....
This discussion has been closed.
Answers
You need to explain your question with more details.
What do you mean by "visible"? Do you have pagination? Do you mean only the current page? What does your code look like?
I have enabled scroller and I tried to use
var displayIndexes = cTable.scroller.page();
return displayIndexes.start; and same for end as return displayIndexes.end.
But displayIndexes.start and displayIndexes.end always returning 0 as index.
This is because I made scrollCollpase true.
So is there any way to know visible rows in a page?