Fábio Matte Posted February 20, 2023 Share 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 ?? Link to comment Share on other sites More sharing options...
Sherzod Posted February 21, 2023 Share 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; Link to comment Share on other sites More sharing options...
Fábio Matte Posted February 26, 2023 Author Share 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 ?? Link to comment Share on other sites More sharing options...
Sherzod Posted February 26, 2023 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now