How to handle TableTools flash content in my custom web client?

How to handle TableTools flash content in my custom web client?

robertbrowerrobertbrower Posts: 158Questions: 1Answers: 0
edited February 2013 in General
I developed my own web client. It's in a .NET assembly. I use it in a Windows service which periodically requests HTML reports from the web server and emails them to select users so they can view the reports offline (from their desktops).

My .NET web client is capable of downloading all stylesheets, css background images, scripts, and images.

All of the files necessary to view the HTML document offline are compressed into a zip file and sent to selected users by the Windows service. The user must only unzip the zip file and open the HTML file.

Today I found a "gotcha" in my web client. It currently does not download the flash movie for TableTools. So the CSV buttons in the report's data tables do not work when they are viewed offline.

So i am wondering what the best way to handle this is.

Can I use the tag to embed the TableTools movie in the web page without effecting the current implementation of TableTools? I thought I might be able to put the embed tag in a hidden div element. Then modify my web client so that it downloads resources specified by the tag.

My other option is to modify my web client so that it can interpret HTML comments, then specify resources to be downloaded in the HTML comments.

Allan, would embedding the TableTools flash movie cause any problems with DataTables and TableTools? What would you do?

Thanks.

Robert

Replies

  • robertbrowerrobertbrower Posts: 158Questions: 1Answers: 0
    I modified my custom web client so that it is capable of downloading the TableTools swf by adding support for the element.

    The HTML file is now in a folder on my desktop. All of the css files, scripts, and the TableTools swf are present in subfolders.

    The CSV button causes the form to be posted instead of bringing up the save as button. Any ideas?

    Many Thanks!

    Robert
  • robertbrowerrobertbrower Posts: 158Questions: 1Answers: 0
    I verified the table tools swf is loaded using mozilla. But clicking it does nothing.

    Is there a security limitation with using tabletools in an html file in a folder on the user's desktop?
  • robertbrowerrobertbrower Posts: 158Questions: 1Answers: 0
    I now see this thread:

    http://datatables.net/forums/discussion/13691/anyway-to-use-tabletools-from-local-file-fileindex.html/p1

    Please close this one? Thanks. Switching threads now...
This discussion has been closed.