PDA

View Full Version : Override pagingtoolbar buttons in ExtJS



Pravin.Pawar
16 Jan 2013, 4:25 AM
Hi,

I want to override pagintoolbar buttons of ExtJS 4.1 grid. Code of my pagingtoolbar is as below -

var pagingToolbar = Ext.create('Ext.PagingToolbar', {
store: store,
displayInfo: true,
displayMsg: 'Displaying CIRTs {0} - {1} of {2}',
emptyMsg: "No CIRTs to display"
});

friend
16 Jan 2013, 7:49 AM
Consider overriding the getPagingItems method. (visit the source (http://docs.sencha.com/ext-js/4-0/source/Paging.html#Ext-toolbar-Paging) for more info).