Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
390
Remove the partial check behavior - Just checked/unchecked..
posted

Hi,

How do I hide the partial check on the BoundCheckBoxField in web data grid control?

<ig:BoundCheckBoxField DataFieldName="RowID" Key="BoundCheckBoxField_0" Width="15px" ToolTipPartial=""></ig:BoundCheckBoxField>

Thanks
Sameem

Parents
  • 33839
    Suggested Answer
    posted

    Hi Sameem,

    The bound checkbox displays whatever data is bound to it.  By default, for a boolean or nullable boolean field, it displays true as checked, false as unchecked, and null as partial.  That's the only time it should show up- if you have null data.

    If you do not like that behavior, you can assign the column a different ValueConverter.  This would be a class that implements IBooleanConverter.  You would make it so that null becomes checked or unchecked.

    regards,
    David Young 

Reply Children
No Data