PDA

View Full Version : Disabling Sorting and Menu in Treegrid Columns



plowman
9 Nov 2010, 11:47 AM
Hi,

I am trying to disable sorting in the TreeGrid (ext v3.2) but setting the following config for my tree grid doesn't seem to be doing anything. The tree is still sortable and the menu still appears.


var customTreeGrid = Ext.extend(Ext.ux.tree.TreeGrid,{
enableHdMenu: false,
enableSort : false,
hlDrop: false,
enableDD: false
});

Is there a configuration for TreeGrid I'm missing or am I extending it improperly? I tried tweaking the internaltpl as well but it doesnt seem to be used to render the columns.

thanks!
p