OK, so I'm showing a big grid that's bound to a data set and then I'm attaching a new column for a checkbox for item selection - pretty common scenario I'd think. However I want the checkboxes to default to unchecked and for the life of me I can't get it to work. they show up as checked but "gray" and evaluate to null. You can check and uncheck them at which point they look "normal" and evaluate to true/false as you'd expect.
So is there a trick to the .DefaultCellValue = xxx that I'm missing here?
thanks
It defaults it to N and the DataSource is a table
Hi,
I do not understand your question. There's no way to unbind a bound column. If you want the cell to default to null, why do you need to do anything? Doesn't your data source automatically default the value to null? If not, what does it default to? What kind of DataSource are you using for the grid?
Realised that I have to to unbind the column before I make the necessary change and then bind it again. How would I do that..?..Thans
Alex
I have an issue , mine is a bound column and the DataType is set to string but I want to change the DefaultCellValue to null but it cant let me for this particular grid . I see it possible with other grids. Please help
yeah - that was it - works fine now.
-J