holyes-table 1.0.9 → 1.0.11

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
@@ -16,16 +16,20 @@
16
16
  - 横向/纵向虚拟滚动
17
17
  - 排序(包括树结构)
18
18
  - 筛选(包括树结构)
19
+ - 固定列
20
+ - 复选框列(多列相互独立)
21
+ - 序号列(包括树结构)
22
+ - 拖动调整列宽度
19
23
  - 行高自适应
20
24
  - 表头分组
21
- - 自定义插槽(尽量少用,影响滚动性能;但支持懒加载插槽,滚动会更流畅;插槽需指定行高)
22
25
  - 表尾行
23
26
  - 树结构数据
24
27
  - 展开行
28
+ - 自定义插槽(尽量少用,影响滚动性能;但支持懒加载插槽,滚动会更流畅;插槽需指定行高)
25
29
  - 内置一些常用插槽,性能更好,如
26
30
  - a标签
27
31
  - tag标签
28
- - 图标
32
+ - 图标 (vxe-pc-ui图标)
29
33
  - 按钮组
30
34
  - 开关
31
35
 
@@ -350,6 +354,8 @@ interface HolyesTableTreeConfig {
350
354
  reserve?: boolean
351
355
  /** 是否显示树形图标, 默认是true */
352
356
  showIcon?: boolean
357
+ /** 多选框列, 是否父子关联选择, 默认是true */
358
+ checkStrictly?: boolean
353
359
  }
354
360
  ```
355
361
 
@@ -421,7 +427,7 @@ const expandConfig = {
421
427
  | updateFooter | `()` | `void` | 更新表尾行数据 |
422
428
  | updateFooterCellLabel | `(field: string, rowIndex: number, label: string)` | `void` | 更新表尾单元格文本 |
423
429
  | setTreeExpand | `(rows: any[], expanded: boolean)` | `void` | 设置树形节点展开/收起 |
424
- | setAllTreeExpand | `(isExpand: boolean)` | `void` | 设置所有树形节点展开/收起 |
430
+ | setAllTreeExpand | `(isExpand: boolean)` | `void` | 设置所有树形节点展开/收起,不包含懒加载节点 |
425
431
  | clearTreeExpand | `()` | `void` | 清除所有树形节点展开状态 |
426
432
  | setRowExpand | `(rows: any[], expanded: boolean)` | `void` | 设置展开行展开/收起 |
427
433