julius_am
julius_am

Reputation: 1527

kendo ui tree - how to show only part of the nodes

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

Answers (1)

Lars Höppner
Lars Höppner

Reputation: 18402

You can filter the data source or hide some of the .k-item elements with jQuery.

Upvotes: 1

Related Questions