I have a treeview build with load on demand from a datasource that is a list of items, every item has an id. I want to send to the server using ajax the id of the selected item in the tree.
--- View code ---
.DataSource(dataSource => dataSource
.Read(read => read
.Events(events => events
itemId = e.node.getAttribute(
// this is where i want to get the id of the selected item
// here i want to tell the server that i'm working on a task
I'll appreciate any help, thank you.