-
Bug
-
Resolution: Fixed
-
Normal
-
6.5.8.1, 8.6.2
-
None
-
Security Level: Jimmy
-
None
-
ZK 9.0.1 S1
-
None
Steps to Reproduce
1. load the zul
2. click the button to open a browser print dialog
Current Result
the grid can't fit the page
Expected Result
the grid can fit the page
Debug Information
- .z-grid-header, .z-grid-body has fixed width and cause this issue.
<div id="z_2-head" class="z-grid-header" style="display: none; width: 1668px;"> - since Grid is implemented by <table>, there might be historical reason. Be careful to break the existing features.
Workaround
@media print{ .z-grid-header, .z-grid-body{ width:auto!important; } }