Hi,
I am using a DataPresenterExcelExporter to export xamDataGrid to excel file and it takes sever seconds. Is it possible to run this on a separate thread?
Thanks
Naveen
Hello Naveen,
Thank you for your post. I have been looking through it and I found out that there is such possibility, to run an exporter on a separate thread. To achieve this, first, you have to create a new thread and the method that it runs should take an object parameter with the data source of your xamDataGrid. Second, inside the method a new XamDataGrid object should take that data source as ObservableCollection and then the exporter can export the new XamDataGrid. I also attached a sample project which demonstrates how this works.
If you have any further questions on this matter do not hesitate to ask.