How to hide the cfgrid default bottom toolbar?

115 Views Asked by At

As coldfusion is upgraded for my current application. The earlier code for extjs isn't working anymore

Could you suggest the latest version for the below implementations?

var grid = ColdFusion.Grid.getGridObject('mainGrid');
grid.getBottomToolbar().hide();

this doesnt hide the default toolbar that appears with cfgrid. Tried adding a xtype: 'pagingtoolbar', to the grid and renderTo :grid.bbar , where grid.bbar is null in the newest version.

Also

e.grid.colModel.config[e.column].editor.selectOnFocus = true;

while adding a listener function the above code isn't working

Also

grid.syncSize();//Sync to size up everything properly again

what shall be used instead here?

0

There are 0 best solutions below