Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

No CSS for SelectItem with MultipleAppearance.PICKLIST

$
0
0
Following code generates a correct SelectItem:
Code:

SelectItem cmbxDestination = new SelectItem("destinationName","Destinations");
cmbxDestination.setOptionDataSource(destTypeDS);
cmbxDestination.setMultiple(true);
cmbxDestination.setMultipleAppearance(MultipleAppearance.GRID);

However, if MultipleAppearance.PICKLIST is used, it seems that it doesn't pick the corresponding CSS.
Code:

SelectItem cmbxDestination = new SelectItem("destinationName","Destinations");
cmbxDestination.setOptionDataSource(destTypeDS);
cmbxDestination.setMultiple(true);
cmbxDestination.setMultipleAppearance(MultipleAppearance.PICKLIST);

Please see the attached images.

----------------------------------
SmartClient Version: v9.1p_2014-09-03
----------------------------------
Observed in following Windows browsers:
Google Chrome - Version 37.0.2062.120 m
Mozilla Firefox - 26.0
Internet Explorer - v8.0
----------------------------------
No JavaScript errors observed on the client.


Viewing all articles
Browse latest Browse all 4756

Trending Articles