Happy-Coding-Clans / vue-easytable

A powerful data table based on vuejs. You can use it as data grid、Microsoft Excel or Google sheets. It supports virtual scroll、cell edit etc.
https://happy-coding-clans.github.io/vue-easytable/
MIT License
3.63k stars 725 forks source link

[Feature Request] support export excel #415

Open hashimoto2021 opened 2 years ago

hashimoto2021 commented 2 years ago

选择要提交 issue 的库

vue-easytable

Issue 类型

Feature

Issue 标题

columns 能否自定义 th, td 的属性和值

这个功能解决了什么问题?

通过自定义 th, td 的属性和值, 实现调用https://github.com/linways/table-to-excel 指定cell的颜色,边框,导出excel

你期望的 API 是什么样的?

< td data-fill-color="FFFFAA00" >1F < /td>
通过指定data_fill_color: "FFFFAA00", 实现上面的td
columns: [ { field: 'Time', key: 'a', title: 'Time', width: 65, data_fill_color: "FFFFAA00", }, ]

huangshuwei commented 2 years ago

你希望实现导出excel功能是吗,未来这个组件会考虑集成导出excel功能

hashimoto2021 commented 2 years ago

你希望实现导出excel功能是吗,未来这个组件会考虑集成导出excel功能

是的,期待导出excel功能。谢谢

rahulmr commented 2 years ago

Any timeline to get this done? A proper xslt or csv export?

huangshuwei commented 2 years ago

@rahulmr Sorry, there are several important functions to be developed, and the start time of export function cannot be determined

rahulmr commented 2 years ago

@huangshuwei Thanks for replying , could you please suggest any other alternatives having this functionalities?

huangshuwei commented 2 years ago

Add todo: https://github.com/Happy-Coding-Clans/vue-easytable/projects/3#card-74248094