From 7f541c372e784eb285f688e27c3c9864e6c974e0 Mon Sep 17 00:00:00 2001 From: huyueb <1062887235@qq.com> Date: Fri, 22 Sep 2017 14:47:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4rendertype=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api.md | 5 ++++- docs/edittype.md | 1 - docs/rendertype.md | 13 +++++++++++++ docs/{edittype_en.md => rendertype_en.md} | 0 4 files changed, 17 insertions(+), 2 deletions(-) delete mode 100644 docs/edittype.md create mode 100644 docs/rendertype.md rename docs/{edittype_en.md => rendertype_en.md} (100%) 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