Jump to content

How to Define a CustomCSS in UniDBGrid.HeaderTitle


Fábio Matte

Recommended Posts

6 hours ago, Fábio Matte said:

How do I define a CustomCSS in UniDBGrid.HeaderTitle.

Hello,

One possible solution.

1. CustomCls ->

.customGrid .x-title-text {
  color: green;
}

2. OnCreate ->

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  UniDBGrid1.JSInterface.JSConfig('cls', ['customGrid']);
end;

 

Link to comment
Share on other sites

On 2/21/2023 at 12:32 AM, Sherzod said:

Hello,

One possible solution.

1. CustomCls ->

.customGrid .x-title-text {
  color: green;
}

2. OnCreate ->

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  UniDBGrid1.JSInterface.JSConfig('cls', ['customGrid']);
end;

 

Very good friend, it worked here.

Where could I find all this information that I could use to customize ??

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...