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

Meshwidget columns do not sync with headers when using percent width

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Normal Normal
    • None
    • 8.0.5
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.5.2 S2
    • None

      Steps to Reproduce

      run fiddle
      http://zkfiddle.org/sample/3vflpag/1-columns-percent-sync

      Current Result

      Headers and columns are not synced

      Expected Result

      columns and headers should sync

      Debug Info

      Happen when at least 1 column uses % based value for width.
      Even if all columns use % based values, sync breaks on browser zoom

      Root Cause

      Workaround

      Scrolling around the listbox instead of inside the listbox, can be done by:
      -Wrapping a scrollable div around the listbox holding the height informations.
      -Not setting height information on the listbox itself or setting vflex="min" to force it's height to include all children.

      Or
      Avoiding % values in columns / headers

            wenninghsu wenninghsu
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h