customRow | 设置行属性 | Function(record, index) |
官网上会给出这么使用:
customRow 用法
适用于 customRow
customHeaderRow
customCell
customHeaderCell
。遵循Vue jsx语法。
customRow={(record) => {
return {
xxx… //属性
onClick: (event) => {}, // 点击行
onDblclick: (event) => {},
onContextmenu: (event) => {},
onMouseenter: (event) => {}, // 鼠标移入行
onMouseleave: (event) => {}
};
}}
customHeaderRow={(column) => {
return {
onClick: () => {}, // 点击表头行
};
}}
自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。
深知大多数前端工程师,想要提升技能,往往是自己摸索成长或者是报班学习,