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

all listheader widths shrink to minimal size unexpectedly after reloading a model

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 9.6.3
    • None
    • Security Level: Jimmy
    • None
    • None

      Steps to Reproduce

      1. run the code
      2. resize any column
      3. click "refresh me" button

      Current Result

      all column widths shrink

      Expected Result

      all column widths reset to its initial size since it recreates all listheaders

      Debug Information

      • similar to ZK-4888
      • after refreshing, headtbl has no width="100%" and each col doesn't have its own width
        <table id="eT8A3-headtbl" style="table-layout: fixed;" width="">
            <colgroup id="eT8A5-hdfaker">
                <col id="eT8Ay-hdfaker" style="width: 102px;">
                <col id="eT8Ar0-hdfaker" style="width: 103px;">
                <col id="eT8As0-hdfaker" style="">
                <col id="eT8At0-hdfaker" style="">
                <col id="eT8Au0-hdfaker" style="">
                <col id="eT8Av0-hdfaker" style="">
                <col id="eT8A5-hdfaker-bar" style="width: 0.001px;">
            </colgroup>
        </table>
        

      Workaround

        1. ListboxViewModel.java
          4 kB
        2. zk-5355.js
          0.5 kB
        3. zk-5355.zul
          1 kB

            Unassigned Unassigned
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: