IO-747 CCC Scroll to Job in Table on create

This commit is contained in:
Patrick Fic
2021-03-08 17:05:06 -08:00
parent 0930702da8
commit 43c771b4f6
3 changed files with 34 additions and 9 deletions

View File

@@ -117,6 +117,13 @@ export default function ContractsCarsComponent({
type: "radio",
selectedRowKeys: [selectedCar],
}}
onRow={(record, rowIndex) => {
return {
onClick: (event) => {
handleSelect(record);
},
};
}}
/>
);
}