If I attempt to data bind the tree after the tree is created the control is never drawn, but if I data bind during the control creation the tree is drawn properly. Any ideas?
Code:
$("#TreeContainer").igTree({ singleBranchExpand: true, parentNodeImageUrl: 'images/directory.png', leafNodeImageUrl: 'images/directory.png', bindings: { textKey: 'Name', valueKey: 'FolderID', childDataProperty: 'ChildFolderCollection' } });
// data binding
$("#TreeContainer").igTree('option', 'dataSourceType', 'json'); $("#TreeContainer").igTree('option', 'dataSource', result.FolderCollection);
Hi Lenny,
This flaw was discovered internally and fixed. Probably this is the reason why it never appeared in the release notes. We appologize for any inconvenience this may have caused for you.