Hi,
I'm having a page in which table get dynamically generated. It can have any number of columns at run-time. I have a print button to print it, its working fine till now what I want is to set page orientation and margins depending on the number of columns like if columns are more than 12 than page orientation should be Landscape else Portrait and according to that setting margins of the page.
Is it possible?
It'll be really a good help.
Thanks in advanced.
I'm having a page in which table get dynamically generated. It can have any number of columns at run-time. I have a print button to print it, its working fine till now what I want is to set page orientation and margins depending on the number of columns like if columns are more than 12 than page orientation should be Landscape else Portrait and according to that setting margins of the page.
Is it possible?
It'll be really a good help.
Thanks in advanced.
Comment