开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜