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

Native scrollbar remaining header column in grid/listbox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.1
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:

      Description

      run the attached example...
      when the page is initially rendered with enough space the grid/listbox don't need a scrollbar

      then reduce the browser height until a scrollbar appears in the grid/listbox
      --> the column headers now contain a "column placeholder" for the space the native scrollbar will occupy OK

      increase the browser height again until the scrollbars disappear
      --> the "column placeholders" remain, causing mis-alignment of the real column headers with the cells below

      Workaround

      • set fixed height on the parent container of a grid or a listbox
        	<window border="normal" title="native" width="30%" height="350px">
        	    <custom-attributes org.zkoss.zul.nativebar="true"/>
        	    <div hflex="1" vflex="1">
        		    <grid vflex="1" hflex="1" >
        

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ChunfuChang ChunfuChang
              Reporter:
              cor3000 cor3000
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: