I want to evaluate the tree control. Here are my basic questions:
Thanks
Hello Mark,
Thank you for using our community.
Let me answer your questions sequentially:
1.Yes, the igTree support tri-state checkboxes. Here is a link to our online sample that demonstrates how to enable the checkboxes:
https://www.igniteui.com/tree/drag-and-drop-single-tree
Link to our API: http://www.igniteui.com/help/api/2016.2/ui.igtree#options:checkboxMode
Help guide: https://www.igniteui.com/help/igtree-configure-checkboxes-and-selection
2.The Data structure can be any of the following:
Well-formed JSON or XML supplied locally or from a web server Nested UL HTML elements OData services JSONP IQueryable in ASP.NET MVC
Link to the help: https://www.igniteui.com/help/igtree-data-binding
Link to sample: https://www.igniteui.com/tree/html-binding and https://www.igniteui.com/tree/xml-binding
API: http://www.igniteui.com/help/api/2016.2/ui.igtree#options:bindings
3.Yes, we support Angular too. Here is a link to the sample: http://igniteui.github.io/igniteui-angular2/samples/igTree/igTree.html and http://igniteui.github.io/igniteui-angular/samples/igTree.html
4.Yes, we support Bootstrap 4. Here is a link to our sample: https://www.igniteui.com/themes/bootstrap4-default
I hope those resources will help you create your igTree project. If you have further questions, don’t hesitate to contact us.
Best Regards, Marina Stoyanova, Software Developer, Infragistics, Inc.
Your Angular 1.x example is unclear to me. I didn't see directives to create the Tree. Can you please help?
I also want to know if Lazy Load is possible with the control.
Here is the code for our igTree Angular sample: https://github.com/IgniteUI/igniteui-angular/blob/master/samples/igTree.html
<ig-tree id="tree1" data-source="ProductCategories">
<bindings child-data-property="ProductSubcategories" text-key="Name" value-key="ProductCategoryID">
</bindings>
</ig-tree>
I believe this is what you are looking for.
Yes, we support load on demand. If you take a deeper look at our online help and samples, you will find both rich explanation on how to use this feature as well as a sample. Here are the links you are looking for:
https://www.igniteui.com/tree/aspnet-mvc-load-on-demand
https://www.igniteui.com/help/igtree-optimize-performance
Hope this is helpful.
Regards, Marina Stoyanova, Software Developer, Infragistics, Inc.