Listbox select multiple checkbox behaviour issue

asked 2010-03-08 08:56:23 +0800

tfpeckham gravatar image tfpeckham
3 1

The select multiple behavior for a listbox in ZK is troubling: If I click on a list items text, it unchecks everything I've already checked and checks only the current item. (In this sense it behaves like I would expect a radio button list to behave).

This behavior makes using this control frustrating. If I carefully select 15 things from the list, and then miss the checkbox on my 16th selection by even a pixel- everything I've selected is lost and I need to start over.

Has anyone found a way around this or know how to prevent this from happening? If not, can we add a property to ZK that allows us to control this behavior? It would be ideal if clicking the list items text simply selected or deselected the clicked item- not affecting the other items in the list. This would make selecting multiple items much easier and less error-prone.



delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2010-03-09 20:35:52 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

Would you post this to ZK Features that we can track it. Thanks.

link publish delete flag offensive edit

answered 2010-05-18 13:13:18 +0800

dastultz gravatar image dastultz
797 8



link publish delete flag offensive edit

answered 2010-06-05 22:39:05 +0800

xnguyen gravatar image xnguyen
30 3

Is there a way to override this behavior for now? My client loves ZK ui but HATES having to hold CTRL+click.

link publish delete flag offensive edit

answered 2010-06-06 23:18:05 +0800

PeterKuo gravatar image PeterKuo
481 2


You may look into the source code of Listbox.js, SelectWidget.js
search for "ctrl" or "key"

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




Asked: 2010-03-08 08:56:23 +0800

Seen: 2,440 times

Last updated: Jun 06 '10

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