开发者

ExtJS: how can we get the size of the store in a grid

开发者 https://www.devze.com 2023-01-22 10:53 出处:网络
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).

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消