Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-873

Inconsistent display of select all checkbox in listheader if ROD is true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.11
    • 5.0.10
    • Components
    • None
    • ZK 5.0.10 EE

      For example
      <zk>
      <listbox multiple="true" checkmark="true" mold="paging" pageSize="5">
      <custom-attributes org.zkoss.zul.listbox.rod="true"/>
      <listhead>
      <listheader label="Name1"/>
      <listheader label="Address"/>
      </listhead>
      <zk forEach="1,2,3,4,5,6,7,8,9">
      <listitem>
      <listcell label="Name ${each}"></listcell>
      <listcell label="Address ${each}"></listcell>
      </listitem>
      </zk>
      </listbox>
      <listbox multiple="true" checkmark="true" mold="paging" pageSize="10">
      <custom-attributes org.zkoss.zul.listbox.rod="true"/>
      <listhead>
      <listheader label="Name2"/>
      <listheader label="Address2"/>
      </listhead>
      <zk forEach="1,2,3,4,5,6,7,8,9">
      <listitem>
      <listcell label="Name ${each}"></listcell>
      <listcell label="Address ${each}"></listcell>
      </listitem>
      </zk>
      </listbox>
      </zk>

      Expected: If select all is not supported with ROD then the select all should not be visible.
      Actual: In 2nd listbox it is visible.

            benbai benbai
            ashishd ashishd
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: