I have a standard WinForms DataSet being populated programatically (but bound at design-time to a discrete DataSet control on the .NET form). My question is simple: how can I hide (for example) the 2nd and 3rd checkboxes if these values are NULL values in the data for that row? If they are non-NULL, I want to present the checkbox and have it be editable. However, if they are NULL in the dataset I don't want the checkbox there at all.
I can't figure out a simple (or even non-simple) way of hiding these NULL-representing checkboxes. I have tried intercepting the cell formatting event programatically but setting the various e.CellElement._ values to hide/indicate invisible/set ShouldPaint to false/etc.. All efforts to hide these NULL-backed checkboxes seem to be completely ignored by the RadControls GridView. The GridView checkbox column just treats NULL as "false" and allows the user to click them / check them to "true" anyway.
Is there a simple way to conditionally NOT display the checkbox in a RadControls GridView checkbox column, so I can hide/show them for some rows but not for others..? Help..?!
Many thanks in advance,
Ralph
I can't figure out a simple (or even non-simple) way of hiding these NULL-representing checkboxes. I have tried intercepting the cell formatting event programatically but setting the various e.CellElement._ values to hide/indicate invisible/set ShouldPaint to false/etc.. All efforts to hide these NULL-backed checkboxes seem to be completely ignored by the RadControls GridView. The GridView checkbox column just treats NULL as "false" and allows the user to click them / check them to "true" anyway.
Is there a simple way to conditionally NOT display the checkbox in a RadControls GridView checkbox column, so I can hide/show them for some rows but not for others..? Help..?!
Many thanks in advance,
Ralph