Fixed an issue where the copy shortcut CTRL +C was not working in the Query Tool data grid. #7920

This commit is contained in:
Rohit Bhati 2024-09-27 12:17:21 +05:30 committed by GitHub
parent 9b64acb3d2
commit 0e63914ab3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -130,7 +130,7 @@ function SelectAllHeaderRenderer({isCellSelected}) {
}, [isCellSelected]);
return <div ref={cellRef} style={{width: '100%', height: '100%'}} onClick={onClick}
tabIndex="-1" onKeyDown={getCopyShortcutHandler(dataGridExtras.handleCopy)}></div>;
tabIndex="0" onKeyDown={getCopyShortcutHandler(dataGridExtras.handleCopy)}></div>;
}
SelectAllHeaderRenderer.propTypes = {
onAllRowsSelectionChange: PropTypes.func,