0

List Box Check Box Help [closed]

asked 2015-02-04 17:02:05 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2611 3 8
http://emrpms.blogspot.in...

I have the check box for the Listbox as shown hereimage description

The user is complaining the following use case

  1. Check the First Item
  2. Check the Second Item
  3. Check the third Item
  4. Accidently user check the 4 column content. Now all the previous selected items are unchecked.

How we can avoid this ?

delete flag offensive retag edit

The question has been closed for the following reason "the question is answered, right answer was accepted" by Senthilchettyin
close date 2015-02-05 16:36:02

Comments

Question is not clear do u have fiddle demo? How can other selected item would uncheck when we select some other item in the list ..Something wrong with logic .

sjoshi ( 2015-02-05 10:10:54 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-02-05 16:35:51 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2611 3 8
http://emrpms.blogspot.in...

Thank you Joshi.

I got the answer from here

If you prefer to deselect all other items and select the item being clicked (which the behavior of ZK 5.0.4 and earlier), you could specify true to this library property called org.zkoss.zul.listbox.checkmarkDeselectOthers in WEB-INF/zk.xml:

<library-property>
    <name>org.zkoss.zul.listbox.checkmarkDeselectOthers</name>
    <value>true</value>
</library-property>

I need to set to false

link publish delete flag offensive edit

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-02-04 17:02:05 +0800

Seen: 11 times

Last updated: Feb 05 '15

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