0

Listbox column selection

asked 2021-01-26 23:55:53 +0800

aUser gravatar image aUser
137 1 4

updated 2021-01-27 00:11:10 +0800

Hello,

I red this post because i wanted to know if it possible to select a Listbox row only if the user clicks a specific cell (that contains a checkbox, the one provided by the property listBox.setMultiple(true). That post is really old now but it seems that this functionality is not available yet. Should i use the grid component instead?

The Listbox would be more appreciated because of the selectedItems property, with the grid component i think i can only iterate over every row and then check the ones i need.

ZK version is 8.0.2.2

Thanks

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-01-27 09:21:31 +0800

jeanher gravatar image jeanher
1824 2 6
ZK Team

This listbox selection demo shows how you can control user selection - either only the checkmark, or the whole row.

link publish delete flag offensive edit

Comments

Works great, thank you!

aUser ( 2021-01-27 16:43:42 +0800 )edit

good to know!

jeanher ( 2021-01-28 09:55:13 +0800 )edit
Your answer
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: 2021-01-26 23:55:53 +0800

Seen: 4 times

Last updated: Jan 27 '21

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