displaying saved csv/xls files

displaying saved csv/xls files

stevekstevek Posts: 5Questions: 0Answers: 0
edited March 2010 in TableTools
hi guys,
question - how can i display a saved file on screen? ideally, what i would like to do is when you click on the "save to..." export button, to be able to save it and then to automatically bring up a new window (whether its browser window or app specific) that displays the file on screen. any ideas?



  • allanallan Posts: 54,909Questions: 1Answers: 8,606 Site admin
    Unfortunately this isn't possible when saving files on the client-side with Flash (which is what TableTools is doing). Because it's actually writing to the file system locally rather than using the browser to do it - there is no opportunity to send a MIME type to tell the browser which application should be used to open the file. If this is mandatory for your application, then what you need to do is construct the file on the server-side and download the file from the server, through the browser with a specific MIME type.

    Hopefully something that will become possible in future versions of Flash. I'm sure it already is in AIR...

This discussion has been closed.