lisbox checkbox on the right or specific column

asked 2020-07-29 18:52:10 +0800

ziobleed gravatar image ziobleed
3 2

By default, in a liskbox the checkbox is rendered on the first column. There is a way to render the "select all" checkbox" and the row checkbox on a specific column ?

I'm using zk 6.5.4

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2020-08-03 15:32:55 +0800

cor3000 gravatar image cor3000
6280 2 7

no, there's built in way to change/configure this.

This would either require widget customization at JS level.

Or from the server side you can disable the checkmark="false" and then add a checkbox with an onCheck listener (to select the item programmatically) in the column you need.

link publish delete flag offensive edit

answered 2020-08-03 18:11:54 +0800

ziobleed gravatar image ziobleed
3 2

updated 2020-08-03 18:14:49 +0800

hi, thanks for the reply, i've already implemented the same solution you suggested (adding a colunm with check and listener on server).

I think that implementing in zk a configurable checkbox column would save time to many developers.



link publish delete flag offensive 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




Asked: 2020-07-29 18:52:10 +0800

Seen: 11 times

Last updated: Aug 03 '20

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