Fábio Matte Posted February 20, 2023 Posted February 20, 2023 Hello, how are you guys? How do I define a CustomCSS in UniDBGrid.HeaderTitle. I was able to do it in the rest of the UniDBGrid, but the HeaderTitle property does not apply, how could I do it ?? Quote
Sherzod Posted February 21, 2023 Posted February 21, 2023 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; Quote
Fábio Matte Posted February 26, 2023 Author Posted February 26, 2023 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 ?? Quote
Sherzod Posted February 26, 2023 Posted February 26, 2023 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.