
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
igroot-export-excel
Advanced tools
需要导出 excel 数据到表格中,导出的数据是个二维数组,同时希望定义导出的二维数据的表头。
sl add -c igroot-export-excel
<IgrootExportExcel
fileName="文件名"
sheetName="表名"
columns={columns}
dataSource={dataSource}
>
<Button> 导出数据 </Button>
</IgrootExportExcel>
| 参数 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| style | 样式 | Object | - |
| className | 扩展样式类名 | string | - |
| autoPreview | 是否预览 | boolean | false |
| columns | 导出的表头设置 | array | - |
| dataSource | 导出的数据 | array | - |
| onImportSuccess | 导入成功的回调函数 | function | - |
style: PropTypes.object, className: PropTypes.string, autoPreview: PropTypes.bool, fileName: PropTypes.string, sheetName: PropTypes.string, columns: PropTypes.array, dataSource: PropTypes.array
const columns = [{
title: '姓名',
dataIndex: 'name',
key: 'name',
}, {
title: '年龄',
dataIndex: 'age',
key: 'age',
}, {
title: '住址',
dataIndex: 'address',
key: 'address',
}]
FAQs
导出 excel 格式化
We found that igroot-export-excel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.