PDA

View Full Version : [4.0.1] Setting a TreeGrid column locked breaks the component



mankz
29 May 2011, 5:17 AM
onRootChange: function(root) {
this.view.setRootNode(root);
},

this.view is undefined


Test case:



var tree = Ext.create('Ext.tree.Panel', {
title: 'Core Team Projects',
width: 500,
height: 300,
renderTo: Ext.getBody(),
collapsible: true,
useArrows: true,
rootVisible: false,
store: store,
multiSelect: true,
singleExpand: true,

columns: [{
xtype: 'treecolumn', //this is so we know which column will show the tree
text: 'Task',
width: 200,
sortable: true,
dataIndex: 'task',
locked : true
},
{
text: 'Assigned To',
width: 100,
dataIndex: 'user',
sortable: true
}]
});