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
485
How to assert a bitmap in RowSelector columns depending on select/active state?
posted

I want to put these images in the RowSelector column depending upon these states:

inactive/not selected - nothing

inactive/selected - check mark

active/not selected - triangle

active/selected - check mark and triangle

How can this be done (preferably through the properties, in code if not).

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    Setting the Image in InitializeRow seems like a good idea. But I'm not entirely sure that IniitalizeRow will fire for all the states you have here. For example, I don't think InitializeRow fires when a row goes from being Active to Inactive. Or Selected to Unselected.

    So you will probably need to handle this in the Before/AfterRowActivate, Before/AfterRowDeactivate, and SelectionChange events.

    haggard said:
    How can this be done (preferably through the properties, in code if not).

    There is no way to do this via properties.

Children
No Data