Skip to content

Commit

Permalink
Docs: update docs for Table's undocumented apis (ant-design#7525)
Browse files Browse the repository at this point in the history
* onRowMouseEnter
* onRowMouseLeave
  • Loading branch information
hansnow authored and ddcat1115 committed Sep 10, 2017
1 parent 66a89df commit d490a02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/table/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ const columns = [{
| indentSize | indent size in pixels of tree data | number | 15 |
| onRowClick | callback that is called when a row is clicked | Function(record, index, event) | - |
| onRowDoubleClick| callback that is called when a row is double clicked | Function(record, index, event) | - |
| onRowMouseEnter | callback that is called when mouse enter a row | Function(record, index, event) | - |
| onRowMouseLeave | callback that is called when mouse leave a row | Function(record, index, event) | - |
| bordered | whether to show all table borders | boolean | false |
| showHeader | whether to show table header | boolean | true |
| footer | table footer renderer | Function(currentPageData) | |
Expand Down
2 changes: 2 additions & 0 deletions components/table/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ const columns = [{
| indentSize | 展示树形数据时,每层缩进的宽度,以 px 为单位 | number | 15 |
| onRowClick | 点击行时触发 | Function(record, index, event) | - |
| onRowDoubleClick| 双击行时触发 | Function(record, index, event) | - |
| onRowMouseEnter | 鼠标移入行时触发 | Function(record, index, event) | - |
| onRowMouseLeave | 鼠标移出行时触发 | Function(record, index, event) | - |
| bordered | 是否展示外边框和列边框 | boolean | false |
| showHeader | 是否显示表头 | boolean | true |
| footer | 表格尾部 | Function(currentPageData) | |
Expand Down

0 comments on commit d490a02

Please sign in to comment.