iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Is there a way to load up a UXTreeView control with all of the items initially collapsed?
I'm loading up the whole data structure in an Observable collection, ProductCategories, in the viewmodel. It has a collection called SubCategories that I'm binding to the CollectionMemberPath. All the collections contain the same kind of object. So categories can have subcategories which in turn can have their own subcategories.
I can see that all of the levels are loaded and displayed properly. The problem is it initially displays with all the branches expanded all the way down the chain.
Silverlight 4 Project
Web UI Studio 2011 R1
DevForce 6.1
In order to load UXTreeView control with all of the items initially collapsed, I suggest you to enable the LoadOnDemand behavior. To enable load-on-demand, you set IsLoadOnDemand property of the control to True.
The Load-on-Demand feature is particularly useful to improve the overall performance when the assigned data source is relatively large. UXTreeView provides two kind of load-on-demand behaviors which you can choose based on your application's scenarios. Each of the load-on-demand behavior is explained in the Intersoft ClientUI documentation.
Hope this helps.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname