We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Get the number of rows in the current filtered data

Answered
Pablo asked on May 25, 2022

I was wondering, how to get the number of records in the actual filtered view??

I couldn't find anything on the docs or examples.
Do you guys have a method for it?
 
Many thanks!
 

5 answers

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster May 25, 2022

Hello, Pablo,

Thank you for reaching out to us.

Could you please provide us with more details on your use case? How do you want to use the number of records in the grid? It would greatly help us.

Looking forward to hearing from you.

Kind regards,
Nadia

Public
Pablo May 26, 2022

hello Nadia,
thanks for the response
We are building this reporting app (see the screenshot)

for the record counter which has some bugs now (because of the virtual scroll)

I need a method to get how many records in total exist for the current filtered/sorted data

Let me know if you need more data

Many thanks

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster May 26, 2022

Hello, Pablo,

Thank you for the details.

Please see the response we have sent you via email.

Kind regards,
Nadia

Public
Pablo May 27, 2022

Hey!
I got the email
the method you provide me was removed on 2.3

gridRowCount

Another solution for it?

thanks

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster May 28, 2022

Hello Pablo,

Please see the response in our email thread.

Best regards,
Nadia

Please login or Register to Submit Answer