Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
张韧 authored and Leopoldthecoder committed Mar 9, 2017
1 parent b29ce95 commit 32f848f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/docs/en-US/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }] |||
Expand Down
1 change: 1 addition & 0 deletions examples/docs/zh-CN/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }] |||
Expand Down

0 comments on commit 32f848f

Please sign in to comment.