Display multiautocomplete selected values in flexgrid cell

Posted by: 1728884346 on 15 October 2019, 12:13 am EST

  • Posted 15 October 2019, 12:13 am EST - Updated 29 September 2022, 1:49 am EST

    i get example from https://www.grapecity.com/forums/wijmo/display-multiautocomplete-

    refer to attached html, i update deafult flexgrid readonly to false, then it auto add some class to the flexgrid once select the cell. E.g. wj-state-readonly.

    is it expected behaviour?

  • Posted 15 October 2019, 12:14 am EST

    re-upload the html file in zip.

    FlexGrid_MultiAutoComplete_display1.zip

  • Posted 15 October 2019, 3:25 pm EST

    Hello,

    The sample used the older build. The current build is 5.20192.631.

    In the latest build behavior is as follows:

    1. If isReadOnly is true - wj-state-readonly class is added to the host element
    2. If isReadOnly is false and CustomEditor is not added - wj-state-readonly is not added
    3. If isReadOnly is false and CustomEditor is added- wj-state-readonly class is added to hostElement.

      This might be to allow making selection/change for CustomEditor. However, we observed that this does not cause any issue.

    Regards,

    Manish Gupta

  • Posted 15 October 2019, 3:59 pm EST - Updated 29 September 2022, 1:50 am EST

    thanks manish, one more question. refer to screen below, how i can bind itemsSourceAction instead of itemsSource?

    sometime it may has lots data, its good to only retrieve data when type something.

  • Posted 16 October 2019, 4:13 pm EST

    Hi,

    You may add use the itemsSourceFunction instead of itemsSource same as for AutoComplete.

    Please refer to the attached demo sample and following documentation link:

    https://www.grapecity.com/wijmo/api/classes/wijmo_input.multiautocomplete.html#itemssourcefunction

    Regards,

    Manish Gupta

    FlexGrid_MultiAutoComplete_display-ItemsSourceFunction.zip

Need extra support?

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

Learn More

Forum Channels