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

facing problem due to multiple row editing in self referencing hierarchy grid.

1 Answer 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Somya
Top achievements
Rank 1
Somya asked on 01 Mar 2011, 12:47 PM

Hi,

I have a Self Referencing Hierarchy grid in which i have made rows editable on double click client event. Required grid properties for disabling multiple rows edit at the same time have been set as follows-

 

 

 

AllowMultiRowSelection="false" AllowMultiRowEdit="false"

 

 

 

 

Still I am able to select and Edit multiple rows at a time.
Client Settings are as follows-

<ClientSettings  AllowExpandCollapse="true">
                <ClientEvents OnRowDblClick="RowdblClick"/>
                <Selecting AllowRowSelect="True"/>
                </ClientSettings>



Javascript used-

<script language="javascript" type="text/javascript">
        function RowdblClick(sender, eventArgs)
        {
          RowEdit(sender, eventArgs);
        }
        function RowEdit(sender, eventArgs)
        {
            //debugger;
            var editedRow = eventArgs.get_item();
            editedRow.id= eventArgs.get_id();
            $find("<%= RadGrid1.MasterTableView.ClientID %>").editItem(editedRow);
        }   
      
        </script>

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 04 Mar 2011, 11:30 AM
Hello Somya,

I was not able to replicate the issue here. Could you send us the whole code that you use? And could you confirm that you tried to use the latest version of RadControls?

All the best,
Vasil
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Grid
Asked by
Somya
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or