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

Single/Update edit button for whole TreeList

1 Answer 54 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Gijo
Top achievements
Rank 1
Gijo asked on 29 Aug 2011, 03:14 PM
I have a TreeList that displays data in a hierarchy and has got three columns and one of the column is editable. I want to have a single edit/update button on the top the TreeList (rather than havong edit/update button for each row), clicking on which will make the Entire TreeList editable and updatable.  Any help Appreciated. Thanks in Advance.

1 Answer, 1 is accepted

Sort by
0
Gijo
Top achievements
Rank 1
answered on 29 Aug 2011, 05:24 PM
I figured it out and turned to be simple.

1. Set AllowMultiItemEdit= "true"
2  I put a button on top of the grid an in the Click event, loop thru and set item.Edit = true

 

    foreach (TreeListDataItem item in RadTreeList1.Items)

 

    {

        item.Edit =

true;

 

    }



Please let me know if the same can be accomplished without looping.
Tags
TreeList
Asked by
Gijo
Top achievements
Rank 1
Answers by
Gijo
Top achievements
Rank 1
Share this question
or