-
Bug
-
Resolution: Fixed
-
Major
-
5.1.1
-
None
-
Security Level: Jimmy
-
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>