Archive for the ‘ExtJs’ Category

EXTJS Hide Tab Panels

by on Thursday, September 8th, 2011

This is for hide the tab
Ext.getCmp(tabpanel_id).hideTabStripItem(tabitem_id);

This is for show the tab again
Ext.getCmp(tabpanel_id).unhideTabStripItem(tabitem_id);

Extjs Send extra param with pagination

by on Monday, August 2nd, 2010

bbar: new Ext.PagingToolbar({
pageSize: 6,
id: ‘grid-bbar’ ,
store: store,
listeners: {
beforechange: function (tb, param) {
var section= Ext.getCmp(‘rsection’).getValue();
var section1= Ext.getCmp(‘newID’).getValue();
param[‘section1’] = section1;
param[‘section’] = section;
}
},
displayInfo: true,
displayMsg: ‘Displaying topics {0} – {1} of {2}’,
emptyMsg: “No topics to display”
})