Hi Isomorphic,
I want a different Styling for a specific SelectItems picklist, see the pictures below:
Picture 1: SelectItem
Picture 2: The SelectItems picklist
1. How can I apply a different CSS to that list? I already tried the proposed styling options including setPickListBaseStyle() with "customcell" as argument.
Here is the CSS:
.customcell,
.customcellSelected,
.customcellSelectedOver,
.customcellSelectedDown,
.customcellOver,
.customcellFocused,
.customcellDown
{
color: black;
font-size: 20px;
border-bottom: 1px solid <customerColor>;
}
But either way, it does not apply the css. Do I have to use one of the autoChild methods to achive that? If yes, could You please give an short example?
2. Is there a way to center the elements within the rows?
Setup:
SmartClient Version: v11.1p_2018-05-30/PowerEdition Deployment (built 2018-05-30)
Browser: Cordova WebView for Android and iOS
Thanks in advance,
Kind Regards
I want a different Styling for a specific SelectItems picklist, see the pictures below:
Picture 1: SelectItem
Picture 2: The SelectItems picklist
1. How can I apply a different CSS to that list? I already tried the proposed styling options including setPickListBaseStyle() with "customcell" as argument.
Here is the CSS:
.customcell,
.customcellSelected,
.customcellSelectedOver,
.customcellSelectedDown,
.customcellOver,
.customcellFocused,
.customcellDown
{
color: black;
font-size: 20px;
border-bottom: 1px solid <customerColor>;
}
But either way, it does not apply the css. Do I have to use one of the autoChild methods to achive that? If yes, could You please give an short example?
2. Is there a way to center the elements within the rows?
Setup:
SmartClient Version: v11.1p_2018-05-30/PowerEdition Deployment (built 2018-05-30)
Browser: Cordova WebView for Android and iOS
Thanks in advance,
Kind Regards
Comment