TreePanel = function (config) {
this.treeDiv = config.treeDiv;
this.actionURL = config.actionURL;
$.getJSON(this.actionURL, null, initTree);
$(this.treeDiv).on("igtreeselectionchanged", function (sender, eventargs) {
var node = eventargs.selectedNodes[0];
debugger;
LoadSearch(node);
});
}
Also Konstantine, on a separate thread, I had posted another question for which I did got an answer from not from infragistisc team @ http://es.infragistics.com/community/forums/p/83672/418240.aspx which was causing this tree issue.
initTree =function (data) {
$("#treeView").igTree({
initialExpandDepth: 1,
dataSourceType:'json',
bindings: {
textKey:'MainLabel',
valueKey:'MainId',
singleBranchExpand:true,
childDataProperty:'MainSubjectAreas',
textKey:'Label',
valueKey:'Id',
childDataProperty:'Categories',
textKey:'CategoryName',
valueKey:'CategoryId'
},
dataSource: data.SubjectAreas
Hi there,
Could you please provide us with a little more information about this issue. A small sample reproducing it would be very useful. Thanks a lot in advance!