Datagrid header color

Martin Obongita martin.obongita at yahoo.com
Mon Feb 10 09:28:08 UTC 2025


 Dear Kelly,
Thank you for the hint. Will this work in a remote form? And should I place the code in the $init running on the client? OR it does not matter?

RegardsMartin.
    On Monday, February 10, 2025 at 11:09:42 AM GMT+3, Kelly Burgess <kellyb at montana.com> wrote:  
 
 Hi Martin,

>I have a datagrid object with its header enable. It defaults its color to blue. Is there a property to reassign this color?

There is a $columnheadercolor property that you can set for each column per $currentcolumn, so maybe

For col from 1 to dgRef.$designcols
  Do dgRef.$currentcolumn.$assign(col)
  Do dgRef.$columnheadercolor.$assign(hdrColor)
End for

Kelly
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 
  


More information about the omnisdev-en mailing list