-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
table customrow 使用说明,文档描述错误
What does the proposed API look like?
文档描述错误
customRow={(record) => {
return {
props: {
xxx... //属性
},
on: { // 事件
click: (event) => {}, // 点击行
dblclick: (event) => {},
contextmenu: (event) => {},
mouseenter: (event) => {}, // 鼠标移入行
mouseleave: (event) => {}
},
};
应是
customRow={record => {
return {
onclick() {
console.log(record);
},
onmouseenter:()=> console.log(record) // 鼠标移入行
};
celizi, aitexiaoy, flykarry and zhowiny