Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Normal
-
Resolution: Fixed
-
Affects Version/s: 6.5.8.1, 8.6.2
-
Fix Version/s: 9.0.1
-
Component/s: None
-
Security Level: Jimmy
-
Labels:None
-
gh.sprint.customfield.default.name:ZK 9.0.1 S1
Description
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; } }