Infragistics WinGrid: How to make a CheckBox column initially checked

Joel in Gö picture Joel in Gö · Jul 27, 2011 · Viewed 8k times · Source

I have an Infragistics WinGrid (UltraGrid, UltraWinGrid, whatever...) with an unbound column. It has Style = Checkbox and DataType = System.Boolean. I have set DefaultCellValue to true, but every new row appears with cell.Value == False in that column. How can I get the default value to work? Thanks!

Answer

Mark Allanson picture Mark Allanson · Aug 3, 2011

If all else fails I would suggest you revert to setting the value manually on the InitializeRow event.