If you want to do it clientside  I could recomment using ClientIO

http://emitrom.com/announcements/flash4j-3.1-ga

See it in action here

http://eemi2010.github.io/ext4j/#!ClientIO




2013/6/4 Shashank Beerla <[email protected]>

> hey can u send me a complete code for celltable export to excel
>
>
> On Friday, May 25, 2012 9:21:38 AM UTC-5, Joseph Lust wrote:
>>
>> The gist is to:
>>
>>    1. Get a list of all records you need to export from the celltable on
>>    the client browser (and the sorting information).
>>    2. Return this to the server.
>>    3. Fetch all the information from (1).
>>    4. Build into an Excel or CSV output using POI or similar.
>>
>> In reality it can be quite a pain. I implemented it in ExtJs grids using
>> POI and had to have columns in any order user had rearranged them to,
>> columns shown/hidden if user had changed them, numeric values as numeric
>> type in exported Excel file... etc. You probably want to try to use a
>> library to achieve this rather than write it yourself.
>>
>> I've not used this library, but it looks like a good start:
>> GWT-Table-To-Excel 
>> http://**code.google.com/p/gwt-table-**to-excel/<http://code.google.com/p/gwt-table-to-excel/>
>> Note that the library uses HTML output, which is a hack (that even
>> ASP.Net recommends... LOL). You'll get a warning if you open a HTML table
>> in Excel that it is not the proper format, but then Excel will load it
>> anyway. If you need rich, native Excel exports, you'll probably need to
>> write your own POI framework.
>>
>> This topic was covered earlier here: https://groups.google.**
>> com/forum/#!msg/google-web-**toolkit/I9VEaFlkA1I/pDXGBBD2g_**AJ<https://groups.google.com/forum/#!msg/google-web-toolkit/I9VEaFlkA1I/pDXGBBD2g_AJ>
>>
>>
>> Sincerely,
>> Joseph
>>
>  --
> 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 [email protected].
>
> To post to this group, send email to [email protected].
> Visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to