I am running into a problem with a GridControl I am using. On load, I set the CheckedValue to be some string and the UncheckedValue to be the empty string (string.Empty).
If I don''t do anything, the cellValue will be the empty string. However, if I check it, and then uncheck it, the cellValue is changed to "0". Is there a reason why this is happening, and a way i can prevent this?
ADAdministrator Syncfusion Team January 20, 2005 04:00 PM
The grid switches an empty falsevalue string to "0". This is by design. You can see this at \Syncfusion\Essential Suite\220.127.116.11\Windows\Grid.Windows\Src\Extensions\CellTypes\GridCheckBoxCellModel.cs(91) if you have teh source code.
If you do not want this, then one way to work around it is to handle the SaveCellInfo event and swap the value there.