Sherzod Posted July 6, 2021 Share Posted July 6, 2021 9 hours ago, Boghos said: I have tried the fixes here in the latest release and i cannot seem to get the JS script to make any difference! Hello, We will check. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 6, 2021 Share Posted July 6, 2021 16 hours ago, Boghos said: I have tried the fixes here in the latest release and i cannot seem to get the JS script to make any difference! Okay. Can you try this approach for now? 1. UniServerModule -> CustomCSS: .customTreeView .x-grid-item { background-color: initial; } 2. procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniTreeView1, UniTreeView1.JSInterface do begin JSConfig('cls', ['customTreeView']); JSConfig('bodyStyle', ['background-color:' + uniColor2Web(Color)]); end; end; 3. Uses ... , UniGUIJSUtils; Quote Link to comment Share on other sites More sharing options...
Boghos Posted July 6, 2021 Share Posted July 6, 2021 Hi Sherzod thank you for your prompt reply. i got my front end developers on the case and they fixed the issue with this in customerCSS: .x-grid-item-container { background: #262d36; } .x-grid-item { background: initial; } .x-grid-item:hover { background: #2d353D; } .x-tree-view { background: #262d36; } .x-panel-body { background: #262d36; } .x-grid-item-selected { background: #2d353D; } 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.