Replies
I have the exact same problem as Klye explains in this post and was wondering if there is a way to still send the response back to the client without the caching workaround that Klye used? I have to wait for the user to make their changes to the grid and only then take that data and save it off to Excel. I can get all the data to the server fine using a simple ajax call but I can't get the Reponse.OutputStream back to the client most likely due to the async nature of ajax. Is it possible to simply upload the contents of a iggrid to the server and have the server sendback the stream in the response like the example SendForDownload method does? I have seen other posts from Infragistics members saying that you can send a JSON array of data to the server and have the server send back the xlsx file but no clear complete working example.
I guess I don't need to attach my sample anymore, you have answered all of my questions. Thank you so much again, I hope others find this sample as useful as I have.
regards,
Rosco
Hello Martin,
Thank you for the prompt response. I was able to extend the concepts from your sample and got it working! I do, however, have a couple followup questions.
The first is when the data gets updated on my grid it changes the entire grid's font to italics. Do you know why that would happen? It doesn't seem to happen on the sample that you provided.
The second is I am also using Summaries and need to be able to recalculate those based on the updated data. I'm assuming I need to use the 'igSummaries calculateSummaryColumn' API method but I can't seem to get it working. I have extended your sample to include summaries and was wondering if you could look to see what I am missing. Please let me know how I can attach this updated sample, I'm not sure how to get it to you through this post.
Thanks,
Rosco