javascript - ExtJS 3 grid columnresize or tools handler -
i working extjs 3.4, want add tools
on grid when 1 of grid's column moved or resized. , after want add handler dynamically created tools. if not possible, want handle tools
handler dynamically on columnresize
.
my code below:
var grid = new ext.grid.gridpanel({ title : _title, autoheight : true, collapsible : true, colmodel : _mycolmodel, store : _mystore, tools:[{ type : 'plus', hidden : false, handler : function(event, toolel, panel){ // } }] }); grid.on('columnresize', function(argcolindex, argnewwidth){ // });
Comments
Post a Comment