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
1330
Image in Ultra Grid Header
posted

Hello, I want to add an image to an Ultra Grid control.

In .NET the dataGridView does not allow for this.  The way we handled it was that we added to the CellPaintEvent.  We then tested if the Row & Col were = to -1.  We then manually painted the image to the header.

I do not see the CellPaintEvent in the Ultra Grid and I'm wondering if there is a similar event that I can use!?

Or perhaps the Ultra Grid allows for an easier method.

Thanks for your time.

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi,

    What kind of header are you referring to? For a column header, you could do something like this:

    column.header.Appearance.Image = myImage;

     

Children