Comments (3)
I think the CSV export can be implemented very easily.
See the following Issue which shows how to retrieve the Filtered Items, #118
I'll think about If I would like this functionality directly in BlazorTable.
from blazortable.
Hey, I had a similar need for exporting to CSV, but I needed the rendered version of the data (like, if you have a custom template for a column).
I couldn't see any way to do this without actually putting all filtered items (ignoring pages) on the DOM in a hidden div, getting all of the rendered text with a JS interop, then finally saving it as a CSV. This puts some strain on the browser having to put everything on the DOM like that, but it works.
Do you know of a better way to do this? I don't know if there's a way to get the text from a RenderFragment without actually putting it on the DOM first, but this would help immensely and would cut down on in-browser memory usage as well.
I can show you my solution if you'd like as well.
from blazortable.
@IvanJosipovic I'm having a client project where we need this feature, can we pay you to implement this instead of me having to do it outside BlazoredTable.?
Personally I don't think this feature should be a on pr default, but a option we can turn on, like a "download csv" button.
It would solve the requirement, and would have a better feel than whatever I can implement.
We don't need excel support, just plain old csv.
from blazortable.
Related Issues (20)
- [Feat] Factory to provide ItemsQueryable
- [Feat] Reorder rows by dragging
- [Bug]Bug on the detail template HOT 4
- Is BlazorTable supported on a hosted webassembly HOT 2
- [Feat] Add support for .NET 6 cascading type parameters
- How deep can table nesting go? HOT 1
- [Bug] When using the Visible property of a column the Footer misaligns when column made invisible
- [Feat] Column with Auto numbering
- [Feat] .Net 6 support
- [Feat] Support for loading indicator while doing server side paging sorting Filtering
- Request for basic instructions on how to override component HOT 2
- Bind Property PageSize
- Excel and pdf sownloader
- sticky header HOT 1
- [BUG] When using inline conditionals in Template, the Column is duplicated when rendered HOT 1
- Usage instructions are unclear
- Be able to set attributes in tr and td of table for css selector
- [Feat] Multiple Filters per columns
- [Feat] Global search targeting substrings
- [Bug] Invalid HTML when using the global search and accessibility issues
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 blazortable.