PDA

View Full Version : Need EXTJS 3.1.0 equivalent for EXTJS 4.1



balawaves
13 Oct 2016, 12:53 AM
Hi,

We are recently upgraded ColdFusion 9 to ColdFusion 11 and we are using cfgrid for building grid.

In CF9 the extjs version 3.1.0 and in CF 11 extjs version 4.1. So due to this upgrade most of the EXTJS methods are not available and get changed in extjs version 4.1.

So please help us to find the equivalent methods in extjs 4.1 for the following

grid.getColumnModel().config[n].menuDisabled = true;

grid.getColumnModel().config[n].sortable = false;

grid.getColumnModel().setRenderer(n, Ext.util.Format.dateRenderer(‘m/d/Y’));

grid.getBottomToolbar().destroy();

grid.reconfigure(grid.getStore(), grid.getColumnModel());

grid.addListener(“rowclick”, somefunction);

grid.addListener(“rowdblclick”, somefunction);

grid.getStore().addListener(‘load’, somefunction);

grid.selModel.getSelected().data;


Thanks,
Bala.P

Gary Schlosberg
13 Oct 2016, 8:20 AM
Duplicate: https://www.sencha.com/forum/showthread.php?330158