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 Reply Children
No Data