当前位置 : 主页 > 网络编程 > PHP >

前端项目实战108-ant design onRow的属性控制选中行的回调

来源:互联网 收集:自由互联 发布时间:2023-09-07
Table onRow={record = { return { onClick: event = {}, // 点击行 onDoubleClick: event = {}, onContextMenu: event = {}, onMouseEnter: event = {}, // 鼠标移入行 onMouseLeave: event = {}, }; }} onHeaderRow={(columns, index) = { return {
<Table
onRow={record => {
return {
onClick: event => {}, // 点击行
onDoubleClick: event => {},
onContextMenu: event => {},
onMouseEnter: event => {}, // 鼠标移入行
onMouseLeave: event => {},
};
}}
onHeaderRow={(columns, index) => {
return {
onClick: () => {}, // 点击表头行
};
}}
/>



网友评论