Hi, I am attempting to export multiple xamgrids which may or may not have been displayed to the user using a XamGridExcelExporter. The problem is that the data and headers of the xamgrids which haven't been displayed is not exported. As soon as I display the other xamgrids their data shows up on the spreadsheet. Is there something I can do when a xamgrid is initialized so its data can be available before it is seen.
Heres some extra info: The xamgrid is in a grid inside a contentpane inside of a tabgrouppane
Hello Panormitis,
Thank you for posting to the community!
XamGridExcelExporter is designed so that each grid row can be exported in associated row in an Excel worksheet. This means that the row in the grid should be initialized so that the data could be exported to an Excel document.
If you have any other questions on the matter feel free to ask.
Hi Panormitis,
I am just checking if you have any other questions regarding Excel exporting.
Hello Maria,
Thank you for the information, I have made your suggested changes and I am now getting all of my data exported.
Joe
Hello Joe,
The content of the panes in a TabGroupPane is initialized and rendered when the tab is active. This functionality is used so the manager could offer better performance. In order to export the grids in the different tabs you can make a tab active, export the grid and then go to the next tab.
I have a similar situation, I have a TabGroupPane of 5 ContentPanes, each has a XamGrid. What I would like to be able to do is export all the data from each of the XamGrids regardless of what tab is the active tab. Is this possible?