docs: add setLoadingHierarchyState api

This commit is contained in:
Rui-Sun 2024-11-15 17:39:45 +08:00
parent 321abcbb28
commit c1a7b4d119
2 changed files with 17 additions and 0 deletions

View File

@ -1318,3 +1318,11 @@ Directly set the width and height of the canvas instead of determining the size
/** Directly set the width and height of the canvas instead of determining the size of the table based on the width and height of the container */
setCanvasSize: (width: number, height: number) => void;
```
## setLoadingHierarchyState(Function)
Set the loading state of the tree expansion and collapse of the cell
```
/** Set the loading state of the tree expansion and collapse of the cell */
setLoadingHierarchyState: (col: number, row: number) => void;
```

View File

@ -1316,3 +1316,12 @@ interface ISortedMapItem {
/** 直接设置canvas的宽高 不根据容器宽高来决定表格的尺寸 */
setCanvasSize: (width: number, height: number) => void;
```
## setLoadingHierarchyState(Function)
设置单元格的树形展开收起状态为 loading
```
/** 设置单元格的树形展开收起状态为 loading */
setLoadingHierarchyState: (col: number, row: number) => void;
```