PDA

View Full Version : tree sorter problem



amol_kulkarni
23 May 2011, 6:44 AM
I am not able to get node object in sortType function.

var temp = new Ext.tree.TreeSorter(MConsole.navigationService.navCategoryTree, {
dir: "ASC",
folderSort: true,
sortType: function(node) {
console.log(node); //this displays only text of selected tree node not actual node object
//return parseInt(node.attributes.ordering, 10);
}
});