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 09:00 PM UTC
The grid switches an empty falsevalue string to "0". This is by design. You can see this at \Syncfusion\Essential Suite\188.8.131.52\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.