Highlight values in TwinColSelect

How can I highlight few values programatically in the left-side component of the TwinColSelect component instead of shifting to the right-side component. Right now its shifting the values directly to the right side component if I used setValue(List). Instead I just want to highlight the values programatically.

Hi,

unfortunately there’s no easy way to do this. Even if you could consider an Extension, the options and selections components are private in VTwinColSelect, so you could not access them.

I’m afraid the only way to go around this would be to implement it yourself, probably starting with a copy-paste of the vaadin class. Or you could start with the source code of the ListBuilder add-on if you also need ordering.