From c1a7b4d119fe5613b8b7436d1adc3261b67641d4 Mon Sep 17 00:00:00 2001 From: Rui-Sun Date: Fri, 15 Nov 2024 17:39:45 +0800 Subject: [PATCH] docs: add setLoadingHierarchyState api --- docs/assets/api/en/methods.md | 8 ++++++++ docs/assets/api/zh/methods.md | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/docs/assets/api/en/methods.md b/docs/assets/api/en/methods.md index fa339d9d0..47dd8c353 100644 --- a/docs/assets/api/en/methods.md +++ b/docs/assets/api/en/methods.md @@ -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; +``` diff --git a/docs/assets/api/zh/methods.md b/docs/assets/api/zh/methods.md index 53168c3b6..285cf781d 100644 --- a/docs/assets/api/zh/methods.md +++ b/docs/assets/api/zh/methods.md @@ -1316,3 +1316,12 @@ interface ISortedMapItem { /** 直接设置canvas的宽高 不根据容器宽高来决定表格的尺寸 */ setCanvasSize: (width: number, height: number) => void; ``` + +## setLoadingHierarchyState(Function) + +设置单元格的树形展开收起状态为 loading + +``` + /** 设置单元格的树形展开收起状态为 loading */ + setLoadingHierarchyState: (col: number, row: number) => void; +```