PDA

View Full Version : A Problem with the scroll of treegrid



MadEric
8 May 2011, 10:58 PM
I create a treegrid to show the data. The config of the treegrid is as follows:

activityTreeGrid = new Ext.ux.tree.TreeGrid({
id: 'productData',
animate: false,
width: 590,
enableDD: false,
autoShow: true,
customDD: false,
autoScroll:true,
root: new Ext.tree.TreeNode(),
renderTo: this.activityTreeContainer,
...
});

the problem is that the scroll always shows as long as the config parameter 'autoscroll' is true although sometimes it's unnecessary.
I'd appreciate it if someone can help me.
Thanks!

friend
9 May 2011, 6:39 AM
It probably has to do the layout and/or sizing of the parent container.