Rendring picklist as MultiPicklist

TJTJ
edited March 2, 2017 in Questions
In continuation with this post: 
https://community.skuidify.com/skuid/topics/is-it-possible-to-render-a-picklist-field-in-a-field-edi...

Can I display this rendered Multiselect picklist in 'Checkboxes' format? Like the same way Skuid displays for multiselect picklist when we select 'checkboxes' as field renderer.

Comments

  • Zach McElrathZach McElrath Principal Software Engineer Chattanooga, TN 💎💎💎
    edited March 2, 2017
    Yes, use this Snippet:
    var field = arguments[0],
       value = skuid.utils.decodeHTML(arguments[1]);
    field.options.type = "CHECKBOXES";
    skuid.ui.fieldRenderers.MULTIPICKLIST[field.mode](field,value);
    field.options.type = "CUSTOM";
  • TJTJ
    edited April 7, 2016
    It worked, thanks!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!