extjs4 - How To Get The TotalPage of a store? -


in program i'am using grid pagination. in particular situvation need totalpage

count of store.any way it?

please me....

your server should send total number of records, this:

{  success:true,  total:999,  records:[   {    id:1,    name:'arundev pv'   }  ] } 

then can use store.gettotalcount() value.

http://docs.sencha.com/ext-js/4-1/#!/api/ext.data.store-method-gettotalcount

you can customize name of "total" property

http://docs.sencha.com/ext-js/4-1/#!/api/ext.data.reader.reader-cfg-totalproperty


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -