Two columns multiselect picklist lightning component detailed blog post : http://amitghadage.blogspot.in/2018/01/two-columns-multi-select-picklist.html
-
How to use MultiselectPicklist component.
<c:MultiselectPicklist availablePickList="['spray', 'limit', 'elite', 'exuberant', 'destruction', 'present']"/>
-
Use component on visualforce page.
<apex:page > <apex:includeLightning />
<script>
$Lightning.use("c:TestApp", function() {
$Lightning.createComponent("c:MultiselectPicklist",
{availablePickList : ['spray', 'limit', 'elite', 'exuberant', 'destruction', 'present']},
'multiselectDiv',
function(cmp) {
console.log('component created successfully')
});
});
</script>
</apex:page>
- Two columns Multiselect will look like :