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
580
Cannot remove read only from a column
posted

Hello Everone,

We are new to Infragistics controls so I apologize if this is a silly question.  I am using an Ultrawingrid to display several fields in a grid.  The first column is a checkbox and no matter what I do I cannot seem to make this column editable.  I have tried setting the cell activation event to allow edit and manually tried to change it at run time like this:

With mygrid.DisplayLayout

 

.Bands(0).Columns("Selected").Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox

.Override.AllowUpdate = Infragistics.Win.DefaultableBoolean.True

.Bands(0).Override.AllowUpdate = Infragistics.Win.DefaultableBoolean.True

.Bands(0).Columns("Selected").Header.CheckBoxVisibility = Infragistics.Win.UltraWinGrid.HeaderCheckBoxVisibility.WhenUsingCheckEditor

.Bands(0).Columns("Selected").CellActivation = Infragistics.Win.UltraWinGrid.Activation.AllowEdit

 

End With

 

Thanks for your help.

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    All grid cells are editable by default. So if you cannot edit a column in the grid, either you are setting a property on the grid to disable it, or else your data source does not allow editing of that field.

    Check your code and make sure you aren't overwriting the settings you have shown here in some other event or that you are not loading a layout into the grid.

    If that's not the case, then it must be your data source.

Children