Comments (4)
I think that it is loaded in a per flash button basis. So, do you have
three buttons (flash type buttons) in your datatable?
El 12/12/2014 18:25, "Jeromy French" [email protected] escribió:
I happened to notice in my application that the copy_csv_xls_pdf.swf is
getting called three times when datatables/tabletools are invoked. I put
together a jsfiddle to illustrate the issue
http://jsfiddle.net/jhfrench/6b74w/391/:[image: Multiple calls to the same file]
https://cloud.githubusercontent.com/assets/1501167/5415872/825b7916-81f8-11e4-838c-a65c4756fc14.pngThe same behavior can be observed from the TableTools documentation
https://datatables.net/extensions/tabletools/:
[image: Even from the official documentation]
https://cloud.githubusercontent.com/assets/1501167/5416022/9f5f7dfe-81f9-11e4-9455-7c274417b1f4.pngWhy is this file getting loaded multiple times? It's particularly
problematic because the intial load of the file doesn't seem to be cached
by the browser for subsequent loads.—
Reply to this email directly or view it on GitHub
#72.
from tabletools.
I do have three buttons (copy, excel, pdf). The tabletools documentation has 5 buttons, but calls the file 4 times (perhaps the "print" button doesn't invoke the flash file).
Even if this is the root of the multiple calls...is it necessary?
from tabletools.
The swf file is indeed loaded once for each button. The SWF file is the same for the buttons, and I've never understood why the are multiple requests for the same file... Browsers just seem not to cache it.
Hmmm - looking at my examples with Chrome, for some reason, Chrome is sending:
Cache-Control:max-age=0
That might explain the problem, but not why it is sending that... Need more investigation I think!
(meanwhile we raise a glass to the day in the future when we can get rid of the Flash dependency here...)
from tabletools.
Cross-posted this to stackoverflow.com. Maybe one of those smart cookies can figure this out.
from tabletools.
Related Issues (20)
- IE Memory leak with ZeroClipboard_TableTools (fix included) HOT 2
- bower and .swf files HOT 1
- add package.json
- Safari Freezes after exporting to excel (Safari 9)
- Problems with ";" HOT 2
- Export Multiple Tables
- Single Button To Export Multiple Datatables On The Same Page HOT 1
- datatable not working when data fetch by ajax HOT 1
- error exporting HOT 1
- Add new own tab function to the TableTools HOT 2
- Export to Excel/PDF without flash HOT 1
- Buttons are not responsive when accessed by tab. HOT 4
- Not exporting all the columns HOT 3
- Old license in dataTables.tableTools.css, GPL v2 / 3 point BSD instead of MIT HOT 1
- Display table name in the exported pdf HOT 1
- Correct way to use Table tools ? Can't get save, copy button container to appear HOT 4
- Excel export: Filters not applied HOT 1
- _fnGetDataTablesData not replacing html properly
- Can not save files (csv/excel/pdf) in incognito mode HOT 6
- TableTools save button stop working after two successfull save command in IE 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tabletools.