PDA

View Full Version : Grid ColumnModel defaultResizable



SLerman
14 Mar 2007, 9:47 AM
Similar to defaultSortable, a property that can be used to make columns not resizable by default would be rather useful.

KimH
14 Mar 2007, 2:13 PM
You can do the following already:

var grid = new Ext.grid.Grid('grid_div_id', {
ds : ds,
cm : cm,
selModel : new Ext.grid.RowSelectionModel(),
enableColumnResize : false
});
However....
a) you CAN'T resize the columns by dragging the handle to the right of the column title... even though the cursor will change to a resize-cursor
b) you CAN double-click the handle to the right of the column title and have the column auto-adjust to the content width... probably a bug....?