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
475
TriStateCheckBox not working as expected
posted

I tried searching these forums, but the search feature is NOT working, so no results are ever returned no matter what you search for.

I have an UltraGrid and have tried a few approaches to adding a TriStateCheckBox to a column.  However, the intermediate state is never triggered, it only accepts checked or unchecked.  The underlying bit value is nullable.

So far I have tried setting the column style to TriStateCheckBox and I have tried adding an UltraCheckEditor with ThreeState set to true as an EditorComponent.

The bit field was not nullable at first, but I updated the table to make it nullable and set a few records to null.  I'm pretty sure the data is being passed in as null, but that just sets it as unchecked.  Clicking the checkbox only uses checked or unchecked.

Any guidance or advice would be appreciated. Thank you.