views:

19

answers:

1

Hi,

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

+1  A: 

there is getCount() method to get the number of elements in the store.

Well, you should have looked before asking, but you have your answer. grid.getStore().getCount() is ok.
Drasill