浏览代码

added documentation

Dustin Utecht 5 年之前
父节点
当前提交
ae257c8357
共有 1 个文件被更改,包括 24 次插入0 次删除
  1. 24 0
      site/docs/extensions/group-by-v2.md

+ 24 - 0
site/docs/extensions/group-by-v2.md

@@ -60,3 +60,27 @@ toc: true
    * `data`: an array of rows in the group.
 
 - **Default:** `undefined`
+
+### groupByToggle
+
+- **attribute:** `data-group-by-toggle`
+
+- **type:** `Boolean`
+
+- **Detail:**
+
+   Set `true` to allow collapse/expand groups
+
+- **Default:** `false`
+
+### groupByShowToggleIcon
+
+- **attribute:** `data-group-by-show-toggle-icon`
+
+- **type:** `Boolean`
+
+- **Detail:**
+
+   Set `true` to show icons if the group is collapsed or expanded (see groupByToggle).
+
+- **Default:** `false`