docs: Document onRowContextMenu

close #7820
This commit is contained in:
Wei Zhu 2017-10-25 10:00:44 +08:00
parent 6d68d5d8fc
commit f28d0d4d82
2 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,7 @@ const columns = [{
| onRowDoubleClick| Callback executed when a row is double clicked | Function(record, index, event) | - | | onRowDoubleClick| Callback executed when a row is double clicked | Function(record, index, event) | - |
| onRowMouseEnter | Callback executed when mouse enters a row | Function(record, index, event) | - | | onRowMouseEnter | Callback executed when mouse enters a row | Function(record, index, event) | - |
| onRowMouseLeave | Callback executed when mouse leaves a row | Function(record, index, event) | - | | onRowMouseLeave | Callback executed when mouse leaves a row | Function(record, index, event) | - |
| onRowContextMenu | Callback executed when right click on a row | Function(record, index, event) | - |
| bordered | Whether to show all table borders | boolean | `false` | | bordered | Whether to show all table borders | boolean | `false` |
| showHeader | Whether to show table header | boolean | `true` | | showHeader | Whether to show table header | boolean | `true` |
| footer | Table footer renderer | Function(currentPageData) | | | footer | Table footer renderer | Function(currentPageData) | |

View File

@ -74,6 +74,7 @@ const columns = [{
| onRowDoubleClick| 双击行时触发 | Function(record, index, event) | - | | onRowDoubleClick| 双击行时触发 | Function(record, index, event) | - |
| onRowMouseEnter | 鼠标移入行时触发 | Function(record, index, event) | - | | onRowMouseEnter | 鼠标移入行时触发 | Function(record, index, event) | - |
| onRowMouseLeave | 鼠标移出行时触发 | Function(record, index, event) | - | | onRowMouseLeave | 鼠标移出行时触发 | Function(record, index, event) | - |
| onRowContextMenu | 右键行时触发 | Function(record, index, event) | - |
| bordered | 是否展示外边框和列边框 | boolean | false | | bordered | 是否展示外边框和列边框 | boolean | false |
| showHeader | 是否显示表头 | boolean | true | | showHeader | 是否显示表头 | boolean | true |
| footer | 表格尾部 | Function(currentPageData) | | | footer | 表格尾部 | Function(currentPageData) | |