admin管理员组文章数量:1426027
Following the questions:
- Javascript or Flash export to CSV/Excel
- Is it possible to use any HTML5 fanciness to export local storage to Excel?
and as suggested, I'm thinking about generating a CSV file content in the client and then use a Data URI to prompt an "open-in-Excel" action from the browser. After reading the limitations and different levels of support of this feature (Data URI) from browsers I'd like to know about first-hand experience of this technique and about things I've to take care of.
Thx.
Following the questions:
- Javascript or Flash export to CSV/Excel
- Is it possible to use any HTML5 fanciness to export local storage to Excel?
and as suggested, I'm thinking about generating a CSV file content in the client and then use a Data URI to prompt an "open-in-Excel" action from the browser. After reading the limitations and different levels of support of this feature (Data URI) from browsers I'd like to know about first-hand experience of this technique and about things I've to take care of.
Thx.
Share Improve this question edited May 23, 2017 at 11:45 CommunityBot 11 silver badge asked Nov 18, 2011 at 1:52 Marc PolizziMarc Polizzi 9,3754 gold badges37 silver badges61 bronze badges1 Answer
Reset to default 2I have not been able to reliably make it work in IE. You could use server side resources for IE and data urls for everything else, but if you are writing that server side code anyway, then in most cases it is probably better to use it universally.
I found a related question at:
Data URI scheme and Internet Explorer 9 Errors
If it absolutely must be done on the client side and usage of flash is acceptable, you could try something like:
http://datatables/extras/tabletools/
本文标签:
版权声明:本文标题:javascript - Data URI used to export to CSVExcel (no server-side request) : browser supportlimitations? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745463220a2659417.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论