How to know visible rows in a tables in latest datatables

How to know visible rows in a tables in latest datatables

Jithu123Jithu123 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....

Answers

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    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?

  • Jithu123Jithu123 Posts: 8Questions: 6Answers: 0

    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?

This discussion has been closed.