Happy-Coding-Clans / Happy-Coding-Clans/vue-easytable

[Feature Request] support export excel

Open
#415 6 comments 1 reaction 0 assignees View on GitHub
💡 feature
Dominant language
JavaScript
Stars
3.8k
Forks
771
PR merge metrics
No merged PRs in 30d

Description

### 选择要提交 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",
},
]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.