ExtJS: how can we get the size of the store in a grid
18,009
Solution 1
there is getCount() method to get the number of elements in the store.
Solution 2
store.data.length
will give you the number of records.
Author by
shubh
Updated on June 04, 2022Comments
-
shubh about 2 years
I am trying to get the size of the store I am using in the grid. But I am not able to find any method to get the size of the store(number of records in the grid).
Could anyone plz help, how can I achieve this.
Thanks, Neha