add resizable on table doc

pull/149/head
Leopoldthecoder 2016-09-26 10:57:03 +08:00
parent 21dadaa447
commit 08160644c5
1 changed files with 1 additions and 0 deletions

View File

@ -861,6 +861,7 @@
| property | 对应列内容的字段名 | string | — | — | | property | 对应列内容的字段名 | string | — | — |
| width | 对应列的宽度 | string | — | — | | width | 对应列的宽度 | string | — | — |
| sortable | 对应列是否可以排序 | boolean | — | false | | sortable | 对应列是否可以排序 | boolean | — | false |
| resizable | 对应列是否可以通过拖动改变宽度(如果需要,需在 el-table 上设置 border 属性为真) | boolean | — | false |
| type | 对应列的类型。如果设置了 `selection` 则显示多选框,如果设置了 `index` 则显示该行的索引(从 1 开始计算) | string | selection/index | — | | type | 对应列的类型。如果设置了 `selection` 则显示多选框,如果设置了 `index` 则显示该行的索引(从 1 开始计算) | string | selection/index | — |
| formatter | 用来格式化内容,在 formatter 执行的时候,会传入 row 和 column | function | — | — | | formatter | 用来格式化内容,在 formatter 执行的时候,会传入 row 和 column | function | — | — |
| show-tooltip-when-overflow | 当过长被隐藏时显示 tooltip | Boolean | — | false | | show-tooltip-when-overflow | 当过长被隐藏时显示 tooltip | Boolean | — | false |