2 Replies Latest reply on Sep 17, 2010 2:29 PM by DeepSaurabh

    Preventing deselection of Item in ComboBox

    Vikash.kumar29 Level 3

      Hello all,



      I am running into a issue, where I want to assure that any value must be selected in the combobox from its dataprovider.

      But it can be deselected by using CTRL+SPACE or Ctrl+Click on selected item.


      Is there any way to prevent this to insure that deselection will not performed.


      I had managed to prevent ctrl+Space to take action by overriding protected function keyDownHandler , but unable to prevent ctrl+click on selected item.



      Please help me


      -Thanks and Regards

      Vikash kumar