iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
When exporting my grid to a pdf file the headers are shown on two rows where the last row is barely readable. Many of the columns get very small width which has the effect that the numbers are split on two or three rows which looks horrible.
There are pretty many columns in the grid and it looks like the export function tries to fit them all in one page, that's why it looks very strange.
How can this problem be solved?// Staffan E.
Staffan,
I have seen your pdf and sample that you've sent in our developer network. Could you please repost them also in this forum? :-)
The mess layout could be caused by your WebGrid Column itself because it has so many columns. When there are many columns, the layout would be resized automatically based on the paper size.
So, you have some options to customize your layout such as configure your font size, paper size, etc. You can also hide unnecessary columns you don't want to export.e.g, with this code in Export event below:
((ISNet.WebUI.WebGrid.WebGridColumn)(((ISNet.WebUI.ISCollectionBase)(e.Table.Columns)).All[0])).Visible = false;
Unfortunately, I could not replicate your mess layout in my sample. But my sample will show you how I customize my own export layout. Hope this helps.
Regards,
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname