Muhammad Idris Posted November 18, 2023 Share Posted November 18, 2023 how to hide or change color on frame lines in UniDbVerticalGrid ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 18, 2023 Share Posted November 18, 2023 Hello, Which theme are you using? Quote Link to comment Share on other sites More sharing options...
Muhammad Idris Posted November 19, 2023 Author Share Posted November 19, 2023 18 hours ago, Sherzod said: Hello, Which theme are you using? neptune Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 19, 2023 Share Posted November 19, 2023 On 11/18/2023 at 1:57 PM, Muhammad Idris said: how to hide Hello, Try this approach: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniDBVerticalGrid1.JSInterface.JSAddListener('afterrender', 'function(){this.setBorder(false)}'); end; Quote Link to comment Share on other sites More sharing options...
Muhammad Idris Posted November 20, 2023 Author Share Posted November 20, 2023 On 11/19/2023 at 10:17 PM, Sherzod said: Hello, Try this approach: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniDBVerticalGrid1.JSInterface.JSAddListener('afterrender', 'function(){this.setBorder(false)}'); end; The border line is still showing, sir Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 21, 2023 Share Posted November 21, 2023 If possible, make a simple test case, I'll try to check. Quote Link to comment Share on other sites More sharing options...
Muhammad Idris Posted November 21, 2023 Author Share Posted November 21, 2023 9 hours ago, Sherzod said: If possible, make a simple test case, I'll try to check. This is an example of the program, sir DbVerticalGrid.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 21, 2023 Share Posted November 21, 2023 1 hour ago, Muhammad Idris said: DbVerticalGrid.zip 5.61 MB · 1 download Thanks for the testcase. Then try this approach: 1. Grid.LayoutConfig.Cls = customGrid 2. CustomCSS -> .customGrid .x-grid-body, .customGrid .x-grid-header-ct { border: none; } Quote Link to comment Share on other sites More sharing options...
Muhammad Idris Posted November 21, 2023 Author Share Posted November 21, 2023 3 hours ago, Sherzod said: Thanks for the testcase. Then try this approach: 1. Grid.LayoutConfig.Cls = customGrid 2. CustomCSS -> .customGrid .x-grid-body, .customGrid .x-grid-header-ct { border: none; } it worked, thanks Sherzod 1 Quote Link to comment Share on other sites More sharing options...
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.