Jump to content

Set Font Bold of UnimDBSelect Picker


JohanC

Recommended Posts

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

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

×
×
  • Create New...