diff --git a/docs/api.md b/docs/api.md index f78c0a1..5532612 100644 --- a/docs/api.md +++ b/docs/api.md @@ -52,4 +52,7 @@ |onCellClick|单击列的单元格时调用|Function(row, event)|-| -{% include "mixin.md"%} \ No newline at end of file +{% include "mixin.md"%} + + +{% include "rendertype.md"%} \ No newline at end of file diff --git a/docs/edittype.md b/docs/edittype.md deleted file mode 100644 index ea1b9e5..0000000 --- a/docs/edittype.md +++ /dev/null @@ -1 +0,0 @@ -# editType diff --git a/docs/rendertype.md b/docs/rendertype.md new file mode 100644 index 0000000..0e770ab --- /dev/null +++ b/docs/rendertype.md @@ -0,0 +1,13 @@ +## rendertype +在表格中提供了多种rendertype可以供选择,比如下拉框,单选框,复选框,日期等 + +### InputRender +输入框类型render + +#### 配置 +| 参数 | 说明 | 类型 | 默认值 | +| -------------- | -------------- | -------- | ----- | +| value | render的值 | string | 无 | +| isclickTrigger | 是否使用点击触发编辑状态 | boolean | false | +| onChange | 当值发生改变的时候触发的方法 | Function | 无 | + diff --git a/docs/edittype_en.md b/docs/rendertype_en.md similarity index 100% rename from docs/edittype_en.md rename to docs/rendertype_en.md