0

Combobox onChange event

asked 2006-04-13 05:38:29 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3684173

By: nobody

Hello,

I want to call a function whwn soem value is selected in combobox. I am using onChange event for that but the problem is function is called only when combobox looses focus. That is i have to click some where else to trigger that function.
Please kindly tell what is the alternative as onSelect is not supported by Combobox

delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2006-04-13 13:12:18 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3684770

By: henrichen

The combobox is a special textbox only. If you need an onSelect for the dropdown then what should be done if the end user simply type in the text directly? The onChange is the correct way to do it.

If you really need user to select from a list, use listbox would be more proper.

/henri


link publish delete flag offensive edit

answered 2006-04-27 16:04:33 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3704322

By: henrichen

The bug has been fixed. You might want to test your example code on the lastest night.

/henri

link publish delete flag offensive edit

answered 2006-04-27 21:07:34 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3704805

By: nobody

thanks. i will give it a shot. i have another question, is there any way to configure the combobox to look like a normal text box for autocompletion. the dropdown icon at right most end of combo box is unusual for auto completion.

i am also not able to change the width of combo box. i have tried giving
width="100px" also tried width="20%", neither of them work.

thanks for quickfix.

link publish delete flag offensive edit

answered 2006-05-02 17:20:20 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3710784

By: nobody

can someone please answer my query. thanks

link publish delete flag offensive edit

answered 2006-05-03 01:19:01 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3711373

By: henrichen

"is there any way to configure the combobox to look like a normal text box for autocompletion. the dropdown icon at right most end of combo box is unusual for auto completion."

It is a "combobox", so it contains a dropdown icon. :) Please post this to Feature-request.

/henri

link publish delete flag offensive edit

answered 2006-05-03 01:20:02 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3711374

By: henrichen

"i am also not able to change the width of combo box. i have tried giving width="100px" also tried width="20%", neither of them work.

This is a bug. Please post to Bug list so we can track it. Thanks.

/henri

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: 2006-04-13 05:38:29 +0800

Seen: 1,516 times

Last updated: May 03 '06

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