I have a client who wants just about every grid enabled for Excel and PDF export. The mechanisms that come with the grid are basic. Unfortunately there are many considerations for doing exports from the grid. And then the final document is subject to be treated differently depending on the browser: Does the document get saved or is it opened by an application? Does the PDF launch in the same page, a new page, or in a reader app?
Rather than using the built-in exports, I usually add my own Export buttons and call my own routines for custom reports with fine-tuned formatting. I can completely control all of the above details and all formatting requirements with custom code, but this must be done for each grid and its diverse and unique requirements. But I'd like to know if folks here are getting more "mileage" from the built-in controls.
The most common requirement is that the Excel and PDF should be as WYSIWYG as possible. The user sorts and groups the grid, then clicks Export, and they expect the document to look just like the grid. What we get are documents with columns mis-aligned, funky formatting, awkward grouping indentation, and other artifacts that make the results unusable. I understand the complexities involved in making this stuff work but it looks like this functionality is incomplete in the product, never quite up to speed with the rest of the grid functionality.
So do we just lump it and roll our own? Or is there some other common technique that people use to approach grid exports?
Thanks!
Rather than using the built-in exports, I usually add my own Export buttons and call my own routines for custom reports with fine-tuned formatting. I can completely control all of the above details and all formatting requirements with custom code, but this must be done for each grid and its diverse and unique requirements. But I'd like to know if folks here are getting more "mileage" from the built-in controls.
The most common requirement is that the Excel and PDF should be as WYSIWYG as possible. The user sorts and groups the grid, then clicks Export, and they expect the document to look just like the grid. What we get are documents with columns mis-aligned, funky formatting, awkward grouping indentation, and other artifacts that make the results unusable. I understand the complexities involved in making this stuff work but it looks like this functionality is incomplete in the product, never quite up to speed with the rest of the grid functionality.
So do we just lump it and roll our own? Or is there some other common technique that people use to approach grid exports?
Thanks!