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.
Hello Lenny,
Thank you for using our community to share your experience with the other members.
It is nice that you handle this with the latest service release.
For any further assistance do not hesitate to contact us.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
Surprise surprise it was an defect that is fixed in the latest service release, but not documented in the release notes.