Can GWT be used to edit excel?

2011-07-22 Thread Sharon11
We have a excel file stored as blob in the database. The user requested to display in the web browser and they can do basic editing for the excel document, such as change the cell, deleting or adding rows, and save the modified excel to the server side. Is that possible to use GWT to program s

Re: Can GWT be used to edit excel?

2011-07-22 Thread Kevin Jordan
Unless you're wanting to send it down to the client and get the contents using the File API or similar, just parse it on the server using POI or jExcelAPI and send it to the client via a request and display it in a grid/table on the client. Then after they're done editing it, send their changes to

Re: Can GWT be used to edit excel?

2011-07-22 Thread Sharon11
Thanks, Kevin. I am new to GWT. My another question is how easy that will be in GWT to edit the grid/table? Does GWT provide API to do that? When I tried a small program the cell in the table of GWT is not editable. Do you have to put the widget for each cell and customize it to handle the edit of

Re: Can GWT be used to edit excel?

2011-07-22 Thread Sharon11
On Jul 22, 2:38 pm, Kevin Jordan wrote: > Unless you're wanting to send it down to the client and get the > contents using the File API or similar, just parse it on the server > using POI or jExcelAPI and send it to the client via a request and > display it in a grid/table on the client.  Then a

Re: Can GWT be used to edit excel?

2011-07-22 Thread Sharon11
On Jul 22, 2:38 pm, Kevin Jordan wrote: > Unless you're wanting to send it down to the client and get the > contents using the File API or similar, just parse it on the server > using POI or jExcelAPI and send it to the client via a request and > display it in a grid/table on the client.  Then a

Re: Can GWT be used to edit excel?

2011-07-22 Thread Kevin Jordan
I'm not sure if GWT directly has that or not. Looking at their examples, I'd guess not. I use GXT because of their more complete widget set. If that's too large a library for your uses, you'd just have to listen for clicks and put an editor (i.e. a form widget) over the grid cell. As for having

Re: Can GWT be used to edit excel?

2011-07-23 Thread Saeed Zarinfam
Hi, Yes it is possible. At first you must open your excel file with a library (e.g Apache POI) on the server side and then send excel file data to your GWT application , after changing data , GWT application send changes to the server and then you must persist this change with your library (e.g Apa