Skip to content

Commit

Permalink
Merge pull request #750 from furybean/master
Browse files Browse the repository at this point in the history
Table: add min-width prop doc, fixed #747
  • Loading branch information
Leopoldthecoder committed Oct 31, 2016
2 parents 7782b97 + a9830be commit 16439a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/docs/zh-cn/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,7 @@
| label | 显示的标题 | string |||
| prop | 对应列内容的字段名,也可以使用 property 属性 | string |||
| width | 对应列的宽度 | string |||
| min-width | 对应列的最小宽度,与 width 的区别是 width 是固定的,min-width 会把剩余宽度按比例分配给设置了 min-width 的列 | string |||
| fixed | 列是否固定在左侧或者右侧,true 表示固定在左侧 | string, boolean | true, left, right | - |
| sortable | 对应列是否可以排序,如果设置为 'custom',则代表用户希望远程排序,需要监听 Table 的 sort-change 事件 | boolean, string | true, false, 'custom' | false |
| sort-method | 对数据进行排序的时候使用的方法,仅当 sortable 设置为 true 的时候有效 | Function(a, b) | - | - |
Expand Down

0 comments on commit 16439a4

Please sign in to comment.