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

Insert/Edit ability?

1 Answer 48 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 19 Sep 2010, 03:54 AM
I see the quick ability of BeginInsert() which adds to the *end* of the list and starts an edit.

How about the ability to INSERT under the current row (and optionally edit).

I realize this control is new, but I see very little examples to assist.  When I try modifying the Items it states it is in use.  When I reflect the BeingInsert, there's lots of internal calls to add at the end.  

How does one achieve this?

later and/or related: the ability to insert branches, to delete branches.

Thanks,

1 Answer, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 23 Sep 2010, 01:23 PM
Hi Jim,

I cannot commit when such functionality will be ready. Meanwhile you can hook for the RadTreeListView.AddingNewDataItem event cancel edit and insert item within the underlying collection (if it supports INotifyCollectionChanged this item will be added within RadTreeListView). After that you can find this new item and put it in edit mode.
I'm attaching a sample application that demonstrates this approach.

P.S. The example works correctly only when first level item (employee) is selected, but you should get the idea.

Sincerely yours,
Nedyalko Nikolov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TreeListView
Asked by
Jim
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Share this question
or