0

Need to find whether Combobox presently showing the dropdown or not.

asked 2010-03-22 03:06:25 +0800

baskaraninfo gravatar image baskaraninfo
526 2 2 9

updated 2010-03-22 03:25:24 +0800

We can show the combobox dropdown by using open() method and can close the dropdown by using close() method.

I want to know the status of the combobox, whether it is presently showing the dropdown or not.

I can listen for onSelect event to detect its dropdown closer, but if the user presses escape key or ENTER without selecting any item, it doesn't invoke onSelect event too. But, onOpen event invoked while showing and closing the dropdown list. But, I can't find when it was actually invoked.
ie., while open() or close() method.

Any help will be appreciated.

Thank you.

Note:
Am using zk-bin-3.6.3 version

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2010-03-29 20:38:31 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

Listen to onOpen event and use OpenEvent#isOpen to know the status.

link publish delete flag offensive edit

answered 2010-03-30 00:46:16 +0800

baskaraninfo gravatar image baskaraninfo
526 2 2 9

Thank you, henrichen :)

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-03-22 03:06:25 +0800

Seen: 377 times

Last updated: Mar 30 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More