Posted 18 December 2021, 1:21 pm EST
Hi teams,
On my web application, i have a combobox with 10 items.
Now, i want to disable 2 items but i can’t find any property/function of SpreadJS ComboBox to implement this requirement.
How can i do it ?
Forums Home / Spread / SpreadJS
Posted by: ngocnguyen09910060 on 18 December 2021, 1:21 pm EST
Posted 18 December 2021, 1:21 pm EST
Hi teams,
On my web application, i have a combobox with 10 items.
Now, i want to disable 2 items but i can’t find any property/function of SpreadJS ComboBox to implement this requirement.
How can i do it ?
Posted 20 December 2021, 7:36 am EST
Hi,
Currently, SpreadJS doesn’t provide the option to disable items on ComboBox. However, you can create Custom Cell Type for ComboBox and disable the items.
Create Custom Cell Type: https://www.grapecity.com/spreadjs/demos/features/cells/cell-types/custom/purejs
Thanks
Posted 11 January 2022, 12:01 am EST
Hi mr. avinash.pathak,
I understand. I will implement your suggestion.
Many thanks