How to make table automatic fit the paper size for exporting PDF?
How to make table automatic fit the paper size for exporting PDF?
![Tahir wiguna](https://secure.gravatar.com/avatar/a0315966d448b081fb6773ecd42363a9/?default=https%3A%2F%2Fvanillicon.com%2Fa0315966d448b081fb6773ecd42363a9_200.png&rating=g&size=120)
So when I'm exporting PDF my table doesn't automatically fit the paper size, I also use colvis so sometimes the user want to export only like 5 columns and sometimes all the columns, so when exporting a little bit of column the paper has so many white spaces and I want to make the table width 100%. and the second one is when the user exports all the column the table is overflowing the paper.
so how to make the table automatically fit the paper size? or is there any solution for my case?
Answers
This thread should help, it's asking the same thing.
Cheers,
Colin