anyone know why i receive this error message when i try to set a cell to an empty value?"Unable to update the data value: Cannot widen from target type to primitive type"
i've tried integer and string datatype cells. both give the same error.
I've also tried to set the column as nullable and that gives me the same error. i set the column as nullable in the InitializeLayout method and used this:MyGridName.DisplayLayout.Bands(0).Columns("MyColumnName").Nullable = Nullable.Automatic is that the right way to do it?
What kind of data source are you using for your grid? What data type is the field? Is it actually integer and string or are you using nullable types?
the data source is a custom custom class array. the data type is either string or integer. i have tried setting the cell to nullable but it still errors out. im using visual studio 2003 so i can't use nullable .net types..
If the DataType of the field in your data source is integer, then it will not be able to accept a null. It sounds like this is a limitation of your data source, not the grid.
Not sure why this would not work with a string, since a string can accept null or DBNull.
Can you duplicate this behavior in a small sample project? If so, you should Submit an incident to Infragistics Developer Support so they can check it out.