Valence.plugin.PagingToolbarSlider() is a beautiful thing. However, in cases when you want to use a groupSummary feature so that you can get a grand total of a column in a grid to display, it appears you loose that functionality. Several other methods seem to not work as well. For examples getting a total count of records in a store by using something like
var numberOfStoreRecords = this.getStore('Mystore').count();
or
var numberOfStoreRecords = this.getStore('Mystore').getCount();
or
var numberOfStoreRecords = this.getStore('Mystore').getTotalcount();
always returns Zero. I found this out by turning of the paging toolbar slider and then WhaLa.. I got the correct number of records in the store.
Anyone have any suggestions on how to get around this problem?
var numberOfStoreRecords = this.getStore('Mystore').count();
or
var numberOfStoreRecords = this.getStore('Mystore').getCount();
or
var numberOfStoreRecords = this.getStore('Mystore').getTotalcount();
always returns Zero. I found this out by turning of the paging toolbar slider and then WhaLa.. I got the correct number of records in the store.
Anyone have any suggestions on how to get around this problem?
Comment