Comments (3)
Thanks for the quick response and detailed explanation. DataTables is a good full-featured library, and perfect for your use-case. But with 31,000+ lines of code in its most succinct distribution, it's difficult to say it's efficient for smaller projects. Compared to TableExport, with a mere 500 lines unminified (including descrptive comments, structural whitespace, and compendious JSDoc documentation), it's targeted for more modern, agile, and dynamic applications (well, at least that was my original inspiration for the library :)) For future reference, research the concept of obfuscation which can help with sharing the context of an issue/problem without leaking sensitive data.
from tableexport.
@slowaways - unfortunately, this is not possible with TableExport
out-of-the-box. To be honest, TableExport
, and client-side parsing, blobs, etc. in general, is not the most performant; it would be interesting to see benchmarks for a feature such as this after it is implemented.
Just to make sure I understand exactly what you are requesting, you basically want to, instead of parsing the table and saving the blob directly to the DOM element, have the ability to export to an external file and, when the user wants to export the table to
xlsx
,xls
,csv
, ortxt
, read the data from the external file?
As it stands, TableExport
is a strict client-side library and I might have trouble justifying file writing from the browser. Better would be to use a Storage API like LocalStorage
.
If we start talking server-side, with Node
for example, this would be more than feasible, but then we would be talking about a separate release channel, with a whole set of additional dependencies.
Let me benchmark the potential performance improvements using some of the popular Storage APIs like LocalStorage
, IndexedDB
, etc. and see what sort of performance boost we can achieve. Would it be possible to share your source code or at least some of the raw data you are working with (at the very least - the unit size) so that I can get a realistic sample for testing?
from tableexport.
"... read the data from the external file?"
Yes
There are currently 1116 rows and 1031 columns. My JSON data contain sensitive data of users as passwords, identity documents number, etc. and are data of research scientific. I can't share it.
I replace your library for another called DataTables because is more faster to export:
https://datatables.net/extensions/buttons/examples/styling/bootstrap.html
from tableexport.
Related Issues (20)
- Unable to export the file on Internet explorer browser using Tableexport plugin
- xlsx doesn't support dd/mm/yyyy date format as source data HOT 1
- Error in Excel
- How to download the excel file without adding to DOM?
- why my data excel '#######' HOT 1
- don't show more export button HOT 1
- date on the csv export is at +1 HOT 1
- ignoreCSS in custom option is redefined.
- Problem with cyrillic
- Text "Module 1" is incorrectly rendered as "31/12/2000" in xlsx
- Support for Bold cells
- The property ‘sheetname’ is not working. HOT 1
- Issue with values like x.x.x on exporting as excel
- The scripts slows down the browser to a hault when a table has lots of rows HOT 2
- Can I export with image in table
- PhantomJS support
- PDF Export no support Arabic
- Pass data from JSON
- i want to increase width of particular columns when i am exporting html table to xlsx format using tableexport.js.
- TableExport in asp.net core
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 tableexport.