Ext JS--How to make itemSelector values unselectable?

209 Views Asked by At

Inside my itemSelector's value config, I have set the values like so:

value:["A","B","C"]

A,B, and C are mandatory and thus cannot be deselected. How do I stop these values from being deselected?

Thanks

1

There are 1 best solutions below

0
On BEST ANSWER

You can capture the beforedeselect event and return false for these items. It would help people answer question more appropriately if you post your code here.