Is it possible change the css for the text ? I need to change some char (color/bold) in some text near the icon.
Otherwise how is possibile to use the template with a list of item with parentid ?
Tnx
1 Answer, 1 is accepted
0
Marin Bratanov
Telerik team
answered on 13 Oct 2020, 02:57 PM
Hi Giampaolo,
You can have a different template for the different levels of the treeview, and there you can render whatever class you need. You can read more about this in the following article from the documentation (that particular section is "Multiple Level Bindings" near the end, but the rest can be helpful too): https://docs.telerik.com/blazor-ui/components/treeview/data-binding/overview.
That article will also explain the general concepts of data binding a treeview, and then you can find more details and examples for the two binding modes in these articles:
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.