I am using Antd EditableProTable with rowSelection props is there a way to know on particular row check box is checked or unchecked? so far i tried onrow prop but that gives record i wanted to know on click of checkbox whether it is checked or unchecked?
<EditableProTable
recordCreatorProps={false}
columns={procolumns}
rowKey="id"
scroll={{
x: 500,
}}
value={dataSource}
onChange={setDataSource}
rowSelection={{
// ...rowSelection,
selectedRowKeys: selectedkey,
onChange: (keys) => {
console.log("keys**", keys, "selectedkey**", selectedkey);
setSelectedKey([...keys]);
}
}}
loading={{
indicator: <Spin tip='Loading...' />,
spinning: oneClickTable.length > 0 ? false : true,
}}
/>