+ Start a Discussion
Noor FazliNoor Fazli 

How to control style of both elements of multiselect picklist i.e; Avaialable and Chosen ?

Hello,
How to control the sizing of both elements of a multiselect picklist defined in apex:inputField.We  have big description texts as option values we have tried using style="width:100px", which got applied to both "Available and "Chosen" element. However it resulted in a huge gap between Available and Chosen. Also after picking up value from Available and moving it to Chosen resulted in the size being reverted to original width(in this case style did not get applied by the system).
Need a way to  display multiselect picklist values in a elegant way inside a <apex:pageBlocksection> element.
Thanks in advance.
 
PratikPratik (Salesforce Developers) 
Hi Noor,

I found interesting blog for this:
https://hisrinu.wordpress.com/2011/05/30/custom-multi-select-picklist-field-in-visualforce/

For styling purpose, if you can apply it on 2 different tags of <apex:selectlist>, please try it out and let us know how it goes.

Thanks,
Pratik