Display multiautocomplete selected values in wijmo flexgrid cell

Posted by: suresh.venkatesh on 24 December 2017, 4:35 pm EST

    • Post Options:
    • Link

    Posted 24 December 2017, 4:35 pm EST

    Hi ,

    I have requirement like display the multiautoccomplete selected items in flexgrid cell with placeholder and the control will be having static values and it should display all items based on the filter text in wijmo flexgrid cell.

    please help me on this!

  • Posted 25 December 2017, 10:13 pm EST

    Hi Suresh,

    For this, you need to add MultiAutoComplete using formatItem at cell level. You need to set the selectedItems property to the FlexGrid cell data which should be an Array. If the items in cell is separated using “,” split method can be used to create array of selected items.

    Please refer to the attached sample for the same.

    If you have any further query, please let us know.

    ~Manish

    FlexGrid_MultiAutoComplete_display.zip

  • Posted 5 January 2018, 12:07 am EST

    Hi Manish,

    I have implemented as your suggestion. Now I am able to get the multiaucomplete in the flexgrid cell. But the selected items are displaying based on the selected item text length. But I want to display the selected items vertically(one by one). Please find attachment for your reference

    Could you please suggest me on this.

    Thanks,

    Suresh

  • Posted 7 January 2018, 5:03 pm EST

    Hi Suresh,

    You need to apply following CSS to show one by one item for control.

      <style>
           .wj-token{
               width:90%;
           }
           .wj-token-close{
               float: right!important;
           }
        </style>
    

    Hope it helps!

    ~Manish

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels