I am using pagingtoolbar for one of my grid but only refresh and manually enter page number working. next and previous button of pagingtoolbar not working it's not triggering any event as i notice in firebug there is not any server call on click of buttons. so please help me to figure out what wrong with this buttons.
//paging tool bar added to grid
dockedItems :[ {
xtype : 'pagingtoolbar',
store : 'Laborcosts',
dock : 'bottom',
displayInfo : true
} ],
//Store
Ext.define('MD.store.Laborcosts', {
extend : "Ext.data.Store",
storeID:'Laborcosts',
model: 'MD.model.Laborcosts',
autoLoad: {start: 0, limit: 10},
remoteSort: true,
pageSize :10 ,
loadMask: true,
proxy: {
type: 'rest',
url: '../services/mdcat/laborcost/getLaborCostCDM',
timeout: 300000,
reader: {
type: 'json',
root: 'records',
totalProperty: 'total'
}
}
});
this is my observation: next /previous button event execute only when click on specific portion of bar i.e little bit below the next/previous button icon.
After lots of try i found that this behavior only for chrome in IE it's working fine. plz look into following toolbar source code inner element "button-1121-btnIconEl" render arrow image but its not fired click event in chrome. as per my understanding ext js click event bound to id "button-1121-btnEl". so plz help me to solve this problem why click event not fire on click of inner icon which is sub element of button.
"<em id="button-1121-btnWrap"><button id="button-1121-btnEl" type="button" class="x- btn-center" role="button" autocomplete="off" data-qtip="Next Page" style="height: 16px; "><span id="button-1121-btnInnerEl" class="x-btn-inner" style=""> </span><span id="button-1121-btnIconEl" class="x-btn-icon x-tbar-page-next"></span></button></em>"