Jump to content

Recommended Posts

Posted
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;

 

Posted
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 ??

Posted
27 minutes ago, Fábio Matte said:

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

Studying, analyzing css classes. See also the sencha documentation.

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