1

How to remove selectAll on listbox

asked 2015-01-26 15:30:52 +0800

valnay gravatar image valnay
13 2

Hi everyone,

I've got a Listbox on which I can check some lines. The listheader allows me to select all of the lines at once. Well, I'd like to remove this option. Therefore, I want to get users to choose each line one by one instead of selecting all of them.

So far, I haven't been able to find any solution on this matter as there are no checkable option on the listheader that would have helped me a lot.

delete flag offensive retag edit

Comments

can you past a small fiddle for your example what I can investigate? The items in zk demo doesn't show the checkall checkbox, as I can't find a corresponding fiddle.

chillworld ( 2015-01-26 19:20:24 +0800 )edit

@chillworld : You can, for example, take the list group zk demo : http://www.zkoss.org/zkdemo/listbox/list_group. My program is displaying nearly the same thing as I started from there example to reach my goal. The only thing I want to remove is the checkbox besides "Category". If you got any idea..

valnay ( 2015-01-27 09:05:38 +0800 )edit

3 Answers

Sort by ยป oldest newest most voted
1

answered 2015-01-27 09:38:25 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

for a quick fix, just add some style to it :

<style>
   .z-listheader-checkable {
       visibility: hidden;
   }
</style>

Remark : It's hidden, so it's still rendered in the DOM.

Example in the following fiddle : http://zkfiddle.org/sample/21n58id/2-listbox-groepsmodel-multi-select

Greetz chill.

link publish delete flag offensive edit
0

answered 2015-02-03 15:42:16 +0800

valnay gravatar image valnay
13 2

Perfect, cheers

link publish delete flag offensive edit
0

answered 2015-02-04 09:32:27 +0800

njdsk gravatar image njdsk
1
http://www.finansowe24.co...

thx, i have the same problem, U help me !

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

Follow
1 follower

RSS

Stats

Asked: 2015-01-26 15:30:52 +0800

Seen: 43 times

Last updated: Feb 04 '15

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