Open a local excel file in FlexTable Cell

178 views
Skip to first unread message

Thomas

unread,
Apr 25, 2011, 7:06:53 AM4/25/11
to Google Web Toolkit
Hi at all,

I have a FlexTable showing contents of excel files lying on the local
windows filesystem. There should be a trigger in each row which opens
the excel file with excel.

I tried:
1) Html Cell Widget: <a href="file://D:/excels/
sun_is_shining.xls">test</a>
2) Anchor Cell Widget with href "file://D:/excels/sun_is_shining.xls"
3) Button Cell Widget which does a Window.open("file://D:/excels/
sun_is_shining.xls", "_blank", "")

The behaviour depends on the browser:
- IE 8: file download window appears
- Firefox, Chrome nothing happen or in case of Window.open empty
window is showing

Is it even possible to trigger an excel file opening with excel? How
can i realize this?

Thanks in advance,
Best Regards,
Thomas.

nino ekambi

unread,
Apr 25, 2011, 8:04:33 AM4/25/11
to google-we...@googlegroups.com
I think  that you can t do that with a regular  browser. In normal case the browser wont let u access to local file system.
 You will to use a plug in like flash.


2011/4/25 Thomas <thomas....@googlemail.com>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.




--


Thomas

unread,
Apr 25, 2011, 8:45:54 AM4/25/11
to Google Web Toolkit
thank you.

I feared that.


On 25 Apr., 14:04, nino ekambi <jazzmatad...@googlemail.com> wrote:
> I think  that you can t do that with a regular  browser. In normal case the
> browser wont let u access to local file system.
>  You will to use a plug in like flash.
>
> 2011/4/25 Thomas <thomas.pfaff...@googlemail.com>

nino ekambi

unread,
Apr 25, 2011, 5:54:30 PM4/25/11
to google-we...@googlegroups.com
If you dont mind using  Flash in your application. I m  about to release  version 2.1 of gwt4air wich include a GWT API  for Adobe FLEX. 
Meaning you can  add any Flex UI Component to your gwt application and implement  client side  file processing through them 

Here are some demos 

writing

reading 

cheers, 

Alain

2011/4/25 Thomas <thomas....@googlemail.com>



--
Reply all
Reply to author
Forward
0 new messages