Is there a way to get the cursor to look like a pointer when over an item, short of using the template?
2 Answers, 1 is accepted
0
Accepted
Nadezhda Tacheva
Telerik team
answered on 26 Jan 2021, 11:03 AM
Hello Dean,
The TreeeView items are wrapped in divs with classes .k-item and .k-treeview-item. You can use that to add some CSS styling and set the cursor to pointer.
As of release 2.21.0 the TreeView has a Class parameter which will allow you to add custom CSS class to it and style only the desired instance, not all instances of TreeView on the page/app.
To better illustrate how to achieve the desired behavior I've created the following example of a TreeView with a pointer cursor (no functionality included, only styling to demonstrate how to show pointer).
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/.