This depends on the EditMode you are using. If using InPlace
edit mode, the e.Item
property in the event handler refers to the TreeListDataItem that is in edit mode. In this case you can cast e.Item to TreeListDataItem and get its DisplayIndex:
In fact, if you need to access the data item with this approach, it is already there - e.Item is your data item.
The other approach is if you are using EditForms
edit mode. In this case, your edited item is of type TreeListEditFormItem
and its .ParentItem property gives you the respective data item and its DisplayIndex:
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!