About Table component, when i click row, i want to do sth with current column data;
I found 'customRow: onClick' event in document,but i can't get current column data on click event with params...
The React antDesign UI frame(https://ice.work/component/table): Table -> onRowClick event
Perhaps you can use slots. Then add record to the slot-scope so you have access to the full record of the iteration.
use customRow prop
<a-table :customRow="customRow"></a-table>
function customRow(record) {
return {
on: {
click: event => {
console.log(event, record);
}
}
};
}
Most helpful comment
use customRow prop