Comments (4)
Hi @karlg100 ,
That would've been the same in the previous release, too. The client only has access to what the server has sent. This forum thread here might help - there's an ajax call made to the server to get all the data.
Cheers,
Colin
from scroller.
Looking at the callbacks to the server, it appears that scroller is interjecting the length and start offsets for the export. if these are removed from the POST request, then the entire dataset is exported. going to see if I can override those settings.
from scroller.
Unfortunately, this really still breaks the basic functionality of the buttons export because the base action never finishes. I ended up having to implement a workaround since scroller /w server side and buttons really aren't compatible.
The way I worked around this, add a new flag to my server side script to ignore start/length attributes set by scroller. I added a custom button called "load all" to change the ajax url for the server side to add an "export=true" flag to trigger this behavior and then trigger a dt.draw() to fetch all the rows, bypassing the scroller set limits. when clicked, will force a draw for which will load all fitlered rows. Once loaded, the user can use any of the default buttons to export data.
It's not perfect, but avoids stacking a bunch of callbacks to workaround preloading the data. it would be best if the buttons extension would overrirde the limits, trigger a draw, then perform the browser side export of the data.
One other issue I ran into was the cells() loss of performance issue with 1.10.18. I have manually repointed to 1.10.20 to workaround this problem as well.
from scroller.
when exporting to CSV, only exports the current records that have loaded from the server side.
As Colin says, that is to be expected. The file export functionality is client-side, so it can only export what has been populated. If you are using server-side processing, then that is a sub-set of the data. That is noted in this FAQ.
One other issue I ran into was the cells() loss of performance issue with 1.10.18. I have manually repointed to 1.10.20 to workaround this problem as well.
Upgrading to the latest version sounds like the correct thing to do. There were indeed some performance improvements in 1.10.20.
from scroller.
Related Issues (20)
- Scroller, Responsive and scrollCollapse HOT 1
- Scroller does not work with i18n HOT 4
- Binding scroller with mCustomScrollbar() HOT 1
- Install with composer HOT 1
- Viewport height change doesn't change 'showing' rows HOT 6
- Drag to the end, dynamically generate serial error, the first column HOT 2
- <object> tag in IE HOT 3
- Scroller not working with more than 30k rows HOT 13
- Push 1.4.4 version on bower repository
- Unnecessary scrollbar when scrollCollapse is true HOT 17
- The "stateSave" option doesn't work HOT 7
- Scroller shows strange behaviour on ajax reload while keeping scroll position HOT 1
- Problem With Padding in header... HOT 6
- Columns are miss-aligned when zoomin in/out with the browser HOT 1
- Feature request: A way to show a skeleton screen while adding more content HOT 1
- row.child("some htmls").show() is not working with scrolling pagination
- Scroller wrong `types` and no `module` field HOT 1
- InfoFiltered hidden when filtering HOT 1
- Table is not rendering all records. HOT 1
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 scroller.