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
40
Converting a boolean (checkbox) to an image in an ultragrid
posted

I'm thrashing around in the documentation, forum, and google without success.

I have a flat object containing, among other things, a boolean property. How do I tell an ultragrid that for that boolean property to display an image for true, nothing for false, (instead of the default checkbox)? I want the databinding to be realtime, so if I change the object property and refresh the binding source's currency manager, the display should update accordingly (all that to say I don't want to have to re-initialize the grid every time some data changes).

Should I use an appearance object on those cells? Is the AppearanceImageTypeConverter something I can leverage? Or maybe CellDisplayStyle?

Thanks! (CLR 2.0)

Parents Reply Children