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
290
Checkbox column in Wingrid is readonly
posted

Hi,

I added an unbounded checkbox column to WinGrid.  But for some reason, the checkbox column is readonly.  I cannot check or uncheck it.  Every time I select the grid, the whole row gets highlighted and I can't check or uncheck the checkbox column.  Is there any other missing property I don't know about. Here are the codes I used.  Any help is appreciated.

this.DisplayLayout.Bands[0].Columns.Add("CheckBox", "CheckBox");

this.DisplayLayout.Bands[0].Columns["Checkbox"].DataType = typeof(bool);

this.DisplayLayout.Band[0].Columns["CheckBox"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;

this.DisplayLayout.Override.SelectTypeCell = SelectType.Default;

this.Selected.Rows.Clear();

this.ActiveRow = null;

 

 

 

  • 469350
    Verified Answer
    Offline posted

     Is sounds like your CellClickAction is set to RowSelect, so you won't be able to edit any fields in the grid. Note that in recent versions of the grid, you can set the CellClickAction on the Column, so you could set it on your CheckBox column to override any band-level settings.