From f28d0d4d82c99fc59bbc6c9b5ecfd193700cd6a3 Mon Sep 17 00:00:00 2001 From: Wei Zhu Date: Wed, 25 Oct 2017 10:00:44 +0800 Subject: [PATCH] docs: Document onRowContextMenu close #7820 --- components/table/index.en-US.md | 1 + components/table/index.zh-CN.md | 1 + 2 files changed, 2 insertions(+) diff --git a/components/table/index.en-US.md b/components/table/index.en-US.md index 692035ce57..0bd0cdfdd2 100644 --- a/components/table/index.en-US.md +++ b/components/table/index.en-US.md @@ -73,6 +73,7 @@ const columns = [{ | 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) | - | | 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` | | showHeader | Whether to show table header | boolean | `true` | | footer | Table footer renderer | Function(currentPageData) | | diff --git a/components/table/index.zh-CN.md b/components/table/index.zh-CN.md index d83b4d4de0..089183b160 100644 --- a/components/table/index.zh-CN.md +++ b/components/table/index.zh-CN.md @@ -74,6 +74,7 @@ const columns = [{ | onRowDoubleClick| 双击行时触发 | Function(record, index, event) | - | | onRowMouseEnter | 鼠标移入行时触发 | Function(record, index, event) | - | | onRowMouseLeave | 鼠标移出行时触发 | Function(record, index, event) | - | +| onRowContextMenu | 右键行时触发 | Function(record, index, event) | - | | bordered | 是否展示外边框和列边框 | boolean | false | | showHeader | 是否显示表头 | boolean | true | | footer | 表格尾部 | Function(currentPageData) | |