Get number of rows in search
Get number of rows in search
![islamelshobokshy](https://secure.gravatar.com/avatar/61c44b8539ec4778cd9407d1516b5664/?default=https%3A%2F%2Fvanillicon.com%2F61c44b8539ec4778cd9407d1516b5664_200.png&rating=g&size=120)
I want to get the number if rows when a search has been made. I already have it with no search using this in fnFooterCallback
:
countRows = api.rows().count();
The problem is that this doesn't work when a search has been made. With a search, the rows diminish, but the countRows does not. How to get rows of search?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You can use the
page.info()
api to get this info.Kevin