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

Freeze panel is not displayed if using hidecolumnhead

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.1
    • Fix Version/s: 5.2.0
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None

      Description

      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>
      

        Attachments

        1. CaptureFreezeFail.PNG
          7 kB
          MDuchemin
        2. CaptureFreezeSuccess.PNG
          5 kB
          MDuchemin
        3. repro-freeze.xlsx
          9 kB
          MDuchemin

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: