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
125
UltraWinGrid conditional row formatting on BindingSource object property
posted

I currently have a UltraWinGrid with a corresponding BindingSource, I have recently added a new property to the object collection in the BindingSource called "IsPartActive". What would be the best way for me to 'grey out' or inactivate rows on the grid who have this property = 0?

My goal is give the user the ability to distinguish between active/inactive rows. This grid is readonly.

  • 69832
    Offline posted

    Handle the InitializeRow event, and disable the row if this 'IsPartActive' property returns false. Note that you can disable a row by setting its Activation property to 'Disabled'.