View Full Version : ColumnTree resize columns

17 Jul 2009, 4:48 AM
Im currently using the ColumnTree ux added to a window, but im the columns dont expand when i resize the window with the mouse. There's an example i've tried in here http://extjs.com/forum/showthread.php?t=31880, but it doesnt seem to work.

Here's my columntree:

tree = new Ext.tree.ColumnTree({

header: true,
lines: true,
containerScroll: true,
<c:if test="${not empty multiple}">
columns : [{
header :'Titulo',
width :495,
dataIndex :'title',
id : 'descriptionCol'
header :'Seleccionar',
width :65
viewConfig: {
forceFit: true,
autoFill: true},
autoExpandColumn: 'descriptionCol',
// width : 500,
// height : 350,
autoScroll : true,
animate : true,
loader : treeLoader,
rootVisible : false,
border : true,
layout : 'fit',
root : rootNodes,
bbar : [
<c:if test="${not empty multiple}">


17 Jul 2009, 5:49 AM
Is there a way to use the autoExpandColumn property?it seems there isnt one for the treepanel. So i was wondering what would be the best way to expand say the first column?