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
2005
How to draw image on row selector at runtime
posted

Hello,

I am using an UltraGrid with virtual mode. I need to draw images and show the row numbers on row selectors. The image are drawn based on the height of individual rows and states of the row data. Besides, user can click on the image to trigger an action. I saw some online sample code about displaying row numbers, but I could not find way online about drawing images. We also need to show the triangle image for active row.

I have successfully derived classes from RowSelectorHeaderUIElement and HeaderUIElement for our RowSelectorHeader and column Headers. Class RowSelectorUIElement cannot be derived because it does have any public constructor. Ideally, I would like to have my own row selector class.

Any suggestions will be greatly appreciated.

Thanks,
Shaolin

Parents
  • 12480
    Offline posted

    Hi Shaolin,

    It might be possible to do something like this using a simpler method. Can you send me a mock-up of how you want the final UI to appear? I'll see what I can do to help you to achieve your design.

Reply Children