-
29 Aug 2012 5:42 AM #1
Paging: Load total-property manually
Paging: Load total-property manually
Hello, I've got a problem in ExtJS 4.1: I'm using a AJAX proxy with a JSON reader, but the JSON result doesn't contains a total property. For the total number of records I'm using a function with a SOAP request. How can I use this number for the store to run the paging toolbar?
-
29 Aug 2012 6:43 AM #2
You should be able to update using:
Scott.Code:var button = new Ext.Button({ text: 'SET totalCount', width: 150, renderTo: Ext.getBody(), handler: function() { store.totalCount = 51; pagingToolbar.onLoad(); console.log(store.totalCount); } });


Reply With Quote