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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.0.10
    • Fix Version/s: 5.0.11
    • Component/s: Components
    • Labels:
      None
    • Environment:

      ZK 5.0.10 EE

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: