This is a migrated thread and some comments may be shown as answers.

Inserting in TreeListView

1 Answer 35 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 16 Jan 2012, 04:13 PM
In TeeListView if I set CanUserInsertRowS = true and ShowInsertRow = true when I actually insert a row the new item is always inserted at the top level.  Is there a way to insert it as a child of the selected node or at the same level as the selected node?

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 19 Jan 2012, 01:23 PM
Hi Mike,

Unfortunately, the TreeListView doesn't support such functionality. You can try to subscribe to the AddingNewRow event, and determine the position of the new element there. Mind however that  this approach doesn't work in all cases, and it may become very difficult to implement.

Hope this helps!

Kind regards,
Nik
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TreeListView
Asked by
Mike
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or