Insert/Edit ability?

2 posts, 0 answers
  1. Jim
    Jim avatar
    3 posts
    Member since:
    Aug 2010

    Posted 18 Sep 2010 Link to this post

    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,
  2. Nedyalko Nikolov
    Admin
    Nedyalko Nikolov avatar
    871 posts

    Posted 23 Sep 2010 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top