From 32f848fdc58e98e488dbda45ea740cbc21eebe1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E9=9F=A7?= Date: Thu, 9 Mar 2017 14:00:29 +0800 Subject: [PATCH] update doc --- examples/docs/en-US/table.md | 1 + examples/docs/zh-CN/table.md | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/docs/en-US/table.md b/examples/docs/en-US/table.md index 82f18793f..ee5613584 100644 --- a/examples/docs/en-US/table.md +++ b/examples/docs/en-US/table.md @@ -1500,6 +1500,7 @@ When the row content is too long and you do not want to display the horizontal s | align | alignment | string | left/center/right | left | | header-align | alignment of the table header. If omitted, the value of the above `align` attribute will be applied | String | left/center/right | — | | class-name | class name of cells in the column | string | — | — | +| label-class-name | class name of cells in the current title | string | — | — | | selectable | function that determines if a certain row can be selected, works when `type` is 'selection' | Function(row, index) | — | — | | reserve-selection | whether to reserve selection after data refreshing, works when `type` is 'selection' | boolean | — | false | | filters | an array of data filtering options. For each element in this array, `text` and `value` are required | Array[{ text, value }] | — | — | diff --git a/examples/docs/zh-CN/table.md b/examples/docs/zh-CN/table.md index 910219e42..3e491f6e1 100644 --- a/examples/docs/zh-CN/table.md +++ b/examples/docs/zh-CN/table.md @@ -1583,6 +1583,7 @@ | align | 对齐方式 | String | left/center/right | left | | header-align | 表头对齐方式,若不设置该项,则使用表格的对齐方式 | String | left/center/right | — | | class-name | 列的 className | string | — | — | +| label-class-name | 当前标题的 className | string | — | — | | selectable | 仅对 type=selection 的列有效,类型为 Function,Function 的返回值用来决定这一行的 CheckBox 是否可以勾选 | Function(row, index) | — | — | | reserve-selection | 仅对 type=selection 的列有效,类型为 Boolean,为 true 则代表会保留之前数据的选项,需要配合 Table 的 clearSelection 方法使用。 | Boolean | — | false | | filters | 数据过滤的选项,数组格式,数组中的元素需要有 text 和 value 属性。 | Array[{ text, value }] | — | — |