While working on PrintAdvancedDataGrid component I found it is very interesting to do R&D on it. There is couple of issues I faced while working on it.
Issue: - If you are using PrintAdvancedDataGrid and property variableRowHeight is made as "true" you can find data is not getting print properly on page (i.e. percentWidth doesnot work (percentWidth = 100)).
Solution: To make it work properly you have to follow below steps: -
Steps: -
1) Assign data to dataProvider of your PrintAdvancedDataGrid
2) Assign percentWidth = 100
3) Call validateNow()
4) Assign percentHeight = 100
5) Assign variableRowHeight=true
6) Assign wordWrap=true
These six lines will solve your problem; these lines should be in same sequence as mentioned above.
It’s interesting to work on PrintAdvancedDataGrid Component and to do R&D on it. Enjoy…….
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment