PDA

View Full Version : to disable sort by name in a leaf of Ext.ux.tree.TreeGrid



lfs2008
12 Aug 2011, 9:33 AM
i need to show subsections in exact same order as they were in subsection.category array




var newSubsectionNode = createSubsectionNode(subsection); newSectionNode.appendChild(newSubsectionNode);

for (var c = 0; c < subsection.category.length; c++) { var category = subsection.category[c];
var newCategoryNode = createCategoryNode(category); newSubsectionNode.appendChild(newCategoryNode);
}


but after insertion all children are sorted by display name

how to disable sort by name in a particular level of Ext.ux.tree.TreeGrid?