PDA

View Full Version : How to remove the Combox options window, on select record.



AtulDawkhare
18 Oct 2012, 3:22 AM
Hi I am using ExtJS 4.1.1

I am using combox's template feature
i.e.
http://docs.sencha.com/ext-js/4-1/#!/example/form/forum-search.html
(http://docs.sencha.com/ext-js/4-1/#!/example/form/forum-search.html)
Now my requirement is , I want to remove the Option window, i.e where all the records gets display.

Attached Image..

As shown in image , I want to remove the RED color i.e. option box on selection of any single record.

I tried to use


comboField.cancelFocus();

But it didn't work.

Either if I loose the focus , will be ok Or is there any other way to achieve this ?

James Goddard
18 Oct 2012, 4:30 AM
comboField.collapse ()

AtulDawkhare
18 Oct 2012, 4:46 AM
Thanks a Lot :)