How to disable the particular dropdown option in Wijmo grid cell dropdown

Posted by: conkpal on 23 October 2023, 6:49 am EST

  • Posted 23 October 2023, 6:49 am EST - Updated 23 October 2023, 6:54 am EST

    I’ve added a dropdown in Wijmo with selectable options. I’d like to disable the ability to select a specific value from the dropdown. Please find a sample grid dropdown over the grid in the attached screenshot.

  • Posted 25 October 2023, 4:45 am EST

    Hi,

    You can handle the formatItem event of MultiSelect and add the wj-state-disabled CSS on items you would like to disable as per your requirement. Please refer to the sample link below for reference:

    https://stackblitz.com/edit/js-dkpqch?file=index.js

    Regards

Need extra support?

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

Learn More

Forum Channels