JohanC Posted November 24, 2021 Share Posted November 24, 2021 Good evening, I use version 1.90.0.1513 Professional Complete I need help to set the Font =Bold of UnimDBSelect Picker. Thanks Link to comment Share on other sites More sharing options...
Sherzod Posted November 26, 2021 Share Posted November 26, 2021 Hello, I will check. Link to comment Share on other sites More sharing options...
Sherzod Posted November 28, 2021 Share Posted November 28, 2021 UnimDBSelect.Picker = ? What type? Link to comment Share on other sites More sharing options...
JohanC Posted November 28, 2021 Author Share Posted November 28, 2021 Hi, I should have mentioned, the type = dptFloated Link to comment Share on other sites More sharing options...
Sherzod Posted November 28, 2021 Share Posted November 28, 2021 8 minutes ago, JohanC said: I should have mentioned, the type = dptFloated Hi, One possible solution. 1. UniServerMudule -> CustomCSS: .customList .x-boundlistitem { font-weight: bold; } 2. UnimDBSelect -> ClientEvents -> UniEvents -> function afterCreate(sender) { if (sender.getPicker()) { sender.getPicker().addCls('customList') } } Link to comment Share on other sites More sharing options...
JohanC Posted November 28, 2021 Author Share Posted November 28, 2021 Thanks, will try later today Link to comment Share on other sites More sharing options...
Sherzod Posted November 28, 2021 Share Posted November 28, 2021 Okay. Link to comment Share on other sites More sharing options...
JohanC Posted November 28, 2021 Author Share Posted November 28, 2021 100% working, thank you very much 1 Link to comment Share on other sites More sharing options...
55143681 Posted November 30, 2021 Share Posted November 30, 2021 On 11/28/2021 at 8:13 PM, Sherzod said: Hi, One possible solution. 1. UniServerMudule -> CustomCSS: .customList .x-boundlistitem { font-weight: bold; } 2. UnimDBSelect -> ClientEvents -> UniEvents -> function afterCreate(sender) { if (sender.getPicker()) { sender.getPicker().addCls('customList') } } UniGUI1555+XE10.3.3 MY Error is: sender.getPicker is not a function. Link to comment Share on other sites More sharing options...
Sherzod Posted November 30, 2021 Share Posted November 30, 2021 1 hour ago, 55143681 said: UniGUI1555 MY Error is: sender.getPicker is not a function. I couldn't reproduce. Could you please make a simple testcase? Link to comment Share on other sites More sharing options...
Recommended Posts