Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1253
AllowEditing in code behind
posted

Hi,

I have a hierarchy grid where I want to allow to edit on the child nodes only.  Here is my code to diable the editing on the parent:

grid.ColumnLayouts[0].EditingSettings.AllowEditing = Infragistics.Silverlight.

EditingType.None;

and allow editing on the child:

 grid.ColumnLayouts[1].EditingSettings.AllowEditing = Infragistics.Silverlight.EditingType.Row;

Here is my problem.  When I, first, click on the parent then it works (no editing).  But when I start clicking on the child row which allows me to edit and then go back to any parent row, the parent is in edit mode.  How can I fix this issue?  No editing functions were set in the xaml.  Thakns!

Parents
No Data
Reply
  • 69686
    posted

    Hello,

    I tested this with 9.1 (9.1.20091.1006) and 9.2 (9.2.20092.1073) and it works correctly. I used your code snippet to enable/disable editing. Could you please give us the exact dll version of the dlls that you are using? Can you provide any other information that you think might have an effect on this or a sample reproducing this issue so that we can look into it?

Children