I need to tell wingrid to allow the user to edit certain cells of certain rows, but not all the rows. For example,
If the row number is 1 and the cell number is 4 allow the user to edit that row.
If the row number is 2 and the cell number is 4 DO NOT allow it to be editable.
So the activation of the cell is not based on the column, but based on the row!
to Set a column to read only: ultraGrid1.DisplayLayout.Bands[0].Columns[1].CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit; to set a row to read only:
ultraGrid1.Rows[0].Activation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
to set a cell to read only: ultraGrid1.Rows[0].Cells[0].Activation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
find more:
HOWTO:How can I make a grid or a column, row, or cell in the UltraWinGrid disabled or read-only?