Skip to content

Commit

Permalink
补全
Browse files Browse the repository at this point in the history
  • Loading branch information
黄书伟 committed Jan 31, 2018
1 parent 9ccf92a commit d93d61a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/doc/table/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
| title-dblclick | 表头单元格双击回调 | Function({title,field}) |||
| row-mouse-enter| 鼠标进入表体行的回调| Function({rowIndex}) |||
| row-mouse-leave| 鼠标离开表体行的回调| Function({rowIndex}) |||
| filter-method| 数据筛选的回调| Function({filters}) |||
| ~~cell-edit-formatter~~ [1.3.5](https://github.com/huangshuwei/vue-easytable/releases/tag/1.3.5) 版本废除| ~~单元格编辑格式化回调(可以对编辑的结果设置样式等)~~| ~~Function({newValue,oldValue,rowIndex,rowData,field})~~|||
| cell-edit-done| 单元格编辑完成回调| Function({newValue,oldValue,rowIndex,rowData,field})|||
| cell-merge| 单元格合并,支持rowSpan、colSpan,返回值`{colSpan: 1,rowSpan: 1,content: '',componentName: ''}`;合并后单元格的内容可以通过`content`(html)设置也可以通过,`componentName`(自定义组件)设置| Function({rowIndex,rowData,field})|||
Expand Down Expand Up @@ -66,6 +67,8 @@
| orderBy | 排序规则 | string | asc/desc ||
| isEdit | 是否启用单元格编辑 | boolean || false |
| overflowTitle | 是否内容超出显示title提示 | boolean || false |
| filters | 数据过滤条件,具体格式见demo | array || - |
| filterMultiple | 是否支持过滤条件多选 | boolean || false |


### title-rows(Table props)
Expand Down

0 comments on commit d93d61a

Please sign in to comment.