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

I am trying to get the size of the store that I use in the grid. But I can not find any way to get the storage size (the number of records in the grid).

Can anyone help how I can achieve this.

Thanks Nehu

+4
source share
2 answers

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

+8
source

store.data.length will provide you the number of entries.

+7
source

All Articles