Tuesday, August 13, 2013

Re: Export CellTable's selected rows into a csv file

one way to achieve this is to use the session object to store the values that you sent to the server side and in your httpservlet class obtain them and write to the excel file

On Monday, January 31, 2011 9:22:37 AM UTC-6, Ido wrote:
Hi,

I'm about to implement a new feature in my web application, in which csv file is generated out of a selection module of a CellTable.
Use case:
my client selects rows in a CellTable --> clicks on an Export button --> download csv file. 

As I see it, these should be the actions once Export button is clicked:
1. Collect all selected objects from the selection module.
2. Send list to my server using RPC command.
3. Generate csv file out of the list.
3. "Send" the file to the client.

I've already implemented the first 3 actions , However, did not manage to find any solution for the 4th.
Just don't have any idea how can my server "send" the file to the user.

I've been looking over the net for any solution but couldn't find a thing.

Will appreciate any answer,
Thanks a lot,
Ido

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate