Jump to content

How to add a JPG/PNG image in the Title of a Column in UniDBGrid?


fabiotj

Recommended Posts

 

Hey guys.
Is there any way to add a jpg/png image to the Title of a UniDBGrid column?

For this specific case, FontAwesome does not work, it needs to be an image that can be loaded or drawn.
I've already researched a lot but I didn't find it (maybe I went the wrong way in the searches).

Thanks in advance for any help.

 

Link to comment
Share on other sites

Here's the solution for those who need it later, very simple but I didn't know how to do it:

GridRatings.Columns[12].Title.Caption := '<img style-"height: 30px" src="/files/images/SumHeader.png">';

Thanks to Silvio from the UniGUIDevDesign group.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...