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

New added header is invisible when all headers have fixed width

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 8.6.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Steps to Reproduce

      <listbox>
      	<listhead id="listhead">
      		<listheader label="1" width="200px"/>
      		<listheader label="2" width="200px"/>
      	</listhead>
      	<listitem id="listitem">
      		<listcell label="1"/>
      		<listcell label="2"/>
      	</listitem>
      </listbox>
      <button label="append">
      	<attribute name="onClick">
      		listhead.appendChild(new Listheader("3"));
      	</attribute>
      </button>
      

      When all headers have fixed width, new added header will be invisible.
      Click append to reproduce it.

      Current Result

      New header is invisible.

      Expected Result

      New header should be visible.

        Activity

        CharlesQiu CharlesQiu created issue -
        CharlesQiu CharlesQiu made changes -
        Field Original Value New Value
        Description h2. Steps to Reproduce
        {code:xml}
        <listbox>
        <listhead id="listhead">
        <listheader label="1" width="200px"/>
        <listheader label="2" width="200px"/>
        </listhead>
        <listitem id="listitem">
        <listcell label="1"/>
        <listcell label="2"/>
        </listitem>
        </listbox>
        <button label="append">
        <attribute name="onClick">
        listhead.appendChild(new Listheader("3"));
        </attribute>
        </button>
        {code}

        The bug is: when all headers have fixed width, new added header will be invisible.
        Click append to reproduce it.

        h2. Current Result
        New header is invisible.

        h2. Expected Result
        New header should be visible.
        h2. Steps to Reproduce
        {code:xml}
        <listbox>
        <listhead id="listhead">
        <listheader label="1" width="200px"/>
        <listheader label="2" width="200px"/>
        </listhead>
        <listitem id="listitem">
        <listcell label="1"/>
        <listcell label="2"/>
        </listitem>
        </listbox>
        <button label="append">
        <attribute name="onClick">
        listhead.appendChild(new Listheader("3"));
        </attribute>
        </button>
        {code}

        When all headers have fixed width, new added header will be invisible.
        Click append to reproduce it.

        h2. Current Result
        New header is invisible.

        h2. Expected Result
        New header should be visible.

          People

          • Assignee:
            Unassigned
            Reporter:
            CharlesQiu CharlesQiu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: