Uploaded image for project: 'Keikai'
  1. Keikai
  2. KEIKAI-215

Freeze panel is not displayed if using hidecolumnhead

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 5.2.0
    • 5.1.1
    • None
    • Security Level: Jimmy
    • None
    • None

      Steps to Reproduce

      run attached repro-freeze.xlsx with 

      <zk>
          <div height="100%" width="100%" >
              <spreadsheet id="ss" src="/WEB-INF/books/repro-freeze.xlsx"
                  height="100%" width="100%" hidecolumnhead="true"/>
          </div>
      </zk>
      

       

      Current Result

      see attached failed screenshot

      Expected Result

      see attached success screenshot (without the column headers)

      Debug Information

       

      Workaround

      add a CSS class to the parent of the spreadsheet, and use it to perform a manual adjustement to the header using css. (doesn't require ZK, just put a <div class="frozenHeadOverride " around, and use a regular <style> element, or a global css file)

       

      <zk>
          <style>
          .frozenHeadOverride .zstop {
              height: 19px !important;
          }
          .frozenHeadOverride .zstophead {
              height:0px !important;
          }
          </style>
          
          <div height="100%" width="100%" sclass="frozenHeadOverride">
              <spreadsheet id="ss"  src="/WEB-INF/books/repro-freeze.xlsx"
                  height="100%" width="100%" hidecolumnhead="true"/>
          </div>
      </zk>
      

            RaymondChao RaymondChao
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: