ExtJS: how can we get the size of the store in a grid
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 hel开发者_StackOverflowp, how can I achieve this.
Thanks, Neha
there is getCount() method to get the number of elements in the store.
store.data.length
will give you the number of records.
精彩评论