Jump to content

Paint a cell in Unigui Stringrid outside OndrawCell event?


AlbertoMeyer

Recommended Posts

Any additional information? This is a fundamental function for my system. Intraweb does this normally. I need to decide whether to renew the Unigui or Intraweb license based on this. It may sound silly, but it's fundamental to part of my application. I would like to continue with Unigui. I bought Unigui several years ago and never used. Trying to make happend

Link to comment
Share on other sites

15 minutes ago, AlbertoMeyer said:

Any additional information? This is a fundamental function for my system. Intraweb does this normally. I need to decide whether to renew the Unigui or Intraweb license based on this. It may sound silly, but it's fundamental to part of my application. I would like to continue with Unigui. I bought Unigui several years ago and never used. Trying to make happend

Hello,

This post may help you:

 

Link to comment
Share on other sites

16 hours ago, AlbertoMeyer said:

I lost the aligmnement define in on drawcell. 

 Attribs.Style.Style := 'text-align: center !Important';

Try to include this CSS text-align property as well:

16 hours ago, AlbertoMeyer said:

grid.JSInterface.JSCode(#1'.rc[2][0]="background-color:yellow; color:black";'#1'.view.refresh();');

 

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...