Revision history [back]

click to hide/show revision 1
initial version

asked 2013-04-15 17:24:16 +0800

jcosta gravatar image jcosta

Listbox with multiple/checkmark=true not working

Hi there, (I'm relatively new to ZK so please bear with me :) I am using ZK 6.0.2 with MVVM. I'm trying to set up a listbox with multiple/checkmark= true. A snippet of my code follows:

<listbox height="200px" multiple="true" checkmark="true" sizedbycontent="true" model="@load(vm.someData)" itemrenderer="@load(vm.itemRenderer)" selecteditems="@bind(vm.selectedRecord)" <="" p="">

Now upon clicking on the header checkbox to select all records, although all records become checked, the header checkbox unchecks itself and becomes disabled.

Another situation in which the header checkbox becomes disabled is when I select a record in the listbox...

As anybody experienced a similar situation? Any solutions?

Listbox with multiple/checkmark=true not working

Hi there, (I'm relatively new to ZK so please bear with me :) I am using ZK 6.0.2 with MVVM. I'm trying to set up a listbox with multiple/checkmark= true. A snippet of my code follows:

<listbox height="200px" multiple="true" checkmark="true" sizedbycontent="true" model="@load(vm.someData)" itemrenderer="@load(vm.itemRenderer)" selecteditems="@bind(vm.selectedRecord)" <="" p="">
sizedByContent="true" model="@load(vm.someData)"
      itemRenderer="@load(vm.itemRenderer)" selectedItems="@bind(vm.selectedRecord)"/>

Now upon clicking on the header checkbox to select all records, although all records become checked, the header checkbox unchecks itself and becomes disabled.

Another situation in which the header checkbox becomes disabled is when I select a record in the listbox...

As anybody experienced a similar situation? Any solutions?

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