Let's say I want to add a red background to all tree nodes matching a certain text, in a dynamically loaded Kendo UI TreeView. How can I do this?
It's easy to customize node styles when instantiating trees from HTML, but for trees loaded from a local data source or read from a remote HierarchicalDataSource, there seem to be no way to alter the item's text per-node style:
- the template option applies to all nodes in the tree
- the spriteCssClass applies only to the node's icon
How can I achieve something like this while loading the tree from JavaScript?