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

hflex in Listbox failed in IE 9 only

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.0.8
    • Fix Version/s: 5.0.9
    • Component/s: Components
    • Labels:
      None

      Description

      Posted by smigol,

      The column header for the hflex calculated incorrectly and it is not aligned with row datas.
      Only happened when scroll bar showed.

      <zk>
       <zscript>
         <![CDATA[
      
         List items = new ArrayList();
         for (int i = 0; i < 100; i++) {
             items.add(i);
         }
      
         ]]>
       </zscript>
       <listbox id="listbox" vflex="true" nonselectableTags="" mold="paging" pagingPosition="bottom" pageSize="25">
         <listhead>
         <listheader label="field-1" width="40px" align="center" valign="top"/>
         <listheader label="field-2" width="84px" align="center"  valign="top"/>
          <listheader label="field-3"  hflex="2"  valign="top"/>
         <listheader label="field-4"  hflex="1"  valign="top"/>
          </listhead>
         <listitem forEach="${items}">
           <listcell label="${each}-1" />
           <listcell label="${each}-2" />
           <listcell label="${each}-3" />
           <listcell label="${each}-4" />
         </listitem>
       </listbox>
      </zk>
      

        Attachments

          Activity

            People

            • Assignee:
              SimonPai SimonPai
              Reporter:
              jimmyshiau jimmyshiau
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: