Comments (3)
Yes it works, seems like a styling issue with html2pdf or html2canvas because ionic use flex layout now and i do not think the used libraries supports them, however the best thing to do is to render the table twice, one using the ionic structure and one without and completely hidden "just for the export".
to make the code even better you can create a shared component to handle the hidden one so you do not repeat the code every time.
for the second issue you mentioned i will keep an eye on it and directly update the library when its fixed, thanks for the details
from ngx-export-as.
If I wrap the tables with plain div without using ion-grid layout, export works fine. Is there anyway to get it worked with ionic grid or such ionic components?
Also, I'm getting the error which user mentioned here: niklasvh/html2canvas#2058 .
from ngx-export-as.
Thank you. @wnabil . I've updated the other one with my code to export to PDF.
from ngx-export-as.
Related Issues (20)
- Error: webpack < 5 (Angular 12) HOT 3
- Unable to view the data in exported excel when the size of data is more than 500 records HOT 7
- Angular 13 Support HOT 1
- Upgrade to 1.13 with Angular 13 fails due to xmlbuilder2 dependency HOT 1
- How to download the table which is having pagination HOT 1
- Namespace '"@angular/core/core"' has no exported member HOT 2
- Can't resolve 'fs' in html-to-docx package. I got this error and i dont know to fix it. HOT 3
- TypeError: Cannot read properties of undefined (reading 'colSpan') HOT 1
- Any plans to support Angular 14 in the near future? HOT 1
- Support for Angular 15 HOT 3
- Exported CSV displying non-english characters currupted HOT 2
- [Question] line break issue in textArea HOT 2
- Could not resolve dependency: peer @angular/common@"^10.1.3" from [email protected] node_modules/ngx-export-as ngx-export-as@"*" from the root project HOT 2
- Cannot export Option Value HOT 1
- Support Angular 11 HOT 2
- how to add utf-8 encode when export csv HOT 2
- Gap at the top of the generated PDF if I scrolled down the page HOT 1
- PDF Page break. HOT 1
- Add support for changing delimiter in CSV or support for double quoting data if it contains comma(,) in data HOT 1
- Module not found: Error: Can't resolve 'util' in 'E:\potatoLogics\name\node_modules\xmlbuilder2\lib' HOT 3
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 ngx-export-as.