Posted 5 November 2019, 5:22 am EST
I want my wijmo multi select drop down to open when I click on to it but want the check boxes to be disabled.
Forums Home / Wijmo / General Discussion
Posted by: reeshabh.choudhary on 5 November 2019, 5:22 am EST
Posted 5 November 2019, 5:22 am EST
I want my wijmo multi select drop down to open when I click on to it but want the check boxes to be disabled.
Posted 5 November 2019, 11:35 pm EST
Hi Reeshabh,
You could handle the formatItem event of the MultiSelect and add the ‘wj-state-disabled’ CSS class to all the checkboxes. Also, you will need to handle the keydown event of the dropDown of MultiSelect to disable selecting the checkboxes using the ‘Space’ key.
Please refer to the sample link below:
https://stackblitz.com/edit/ckkyne-cey79e
Regards,
Ashwin