Reputation: 1527
I have hierarchical data for the tree and I want to show only part of the leaves and later to add more leaves to the tree when a button is clicked for example.
One solution I thought of is to remove all unnecessary items from the data and to add items to the data when I want to add them to the tree view.
I wonder whether there is another solution without adding/removing items from/to the data?
Upvotes: 0
Views: 494
Reputation: 18402
You can filter the data source or hide some of the .k-item
elements with jQuery.
Upvotes: 1