@canvas-components/react-pivot-table 0.2.17 → 0.2.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -128,6 +128,12 @@ import {
128
128
  - 获取和恢复版本化状态快照
129
129
  - 获取调试快照
130
130
 
131
+ ## XLSX 导出弹窗
132
+
133
+ 右键导出 XLSX 使用与 `ReactListTable` 相同的导出弹窗和配置表,支持修改文件名(后缀固定)、勾选列、拖拽调整列顺序、数据升降序排序,以及选择是否导出汇总行。汇总支持方式、前缀、小数位数、取整方式和保留无效零;默认带入原表配置,不修改原表。
134
+
135
+ 通过 `exportOptions.fileName` 指定默认名称,`exportOptions.promptFileName: false` 跳过弹窗。弹窗关闭后销毁配置表,配置表不提供右键菜单。原生 `ref.exportXlsx()` 仍是返回字节的接口,不触发弹窗。
136
+
131
137
  ## 推荐场景
132
138
 
133
139
  - React 数据分析后台