viewconfig - ExtJS: how can we get the size of the store in a grid
extjs store loaddata (2)
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.
store.data.length will give you the number of records.
there is getCount() method to get the number of elements in the store.