How to click on the current line and select the previous check box in antd table?

as described in the picture, how to implement the table list, click the current line (row), to select the previous check box?

in fact, I would like to know, in antd, such as my above requirements, how to trigger the click event of checkbox when writing a line click event? If you can implement the click event that triggers the previous check box when a row is clicked, then the problem is solved.

the solution I can think of before is that the id, that gets the current data puts it in the selectedRowKeys, but it is very troublesome to judge the current selected status.

Please give me some advice from the great gods. Thank you.

Mar.28,2021

usage of onRow

<Table
  onRow={(record) => {
    return {
      onClick: () => {},       // 
      onMouseEnter: () => {},  // 
      onXxxx...
    };
  }}
  onHeaderRow={(column) => {
    return {
      onClick: () => {},        // 
    };
  }}
/>

The

official website provides examples.

https://ant.design/components.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b91e-2c2af.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b91e-2c2af.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?