PDA

View Full Version : Minimum width of a column ?



Nico33
27 Jan 2010, 3:10 AM
Hi all,

On a grid, is it possible to set the minimum width that a column can be resized too ?
With that, I can ensure that a cell is still visible ...

Thanks for your answer.

Best regards

jsemmanuel
27 Jan 2010, 5:21 AM
http://www.extjs.com/deploy/dev/docs/source/GridPanel.html#cfg-Ext.grid.GridPanel-minColumnWidth

Nico33
27 Jan 2010, 5:33 AM
This looks like to be for extjs, but I didn't find any api wrapper for this property in gxt.

sven
27 Jan 2010, 5:39 AM
It has the same name, under the same class: http://www.extjs.com/deploy/gxtdocs/com/extjs/gxt/ui/client/widget/grid/Grid.html#setMinColumnWidth%28int%29

Nico33
27 Jan 2010, 6:42 AM
this is for the whole grid, it is not possible to do this for each column ?