Disable 'c' hotkey for columns (broke with buiding custom columsn button instead of using data grid's)

This commit is contained in:
2024-02-21 19:43:20 -06:00
parent f0c1af18d0
commit 948aee70fd
2 changed files with 4 additions and 2 deletions

View File

@ -610,11 +610,14 @@ function RecordQuery({table, launchProcess}: Props): JSX.Element
e.preventDefault()
updateTable("'r' keyboard event");
}
/*
// disable until we add a ... ref down to let us programmatically open Columns button
else if (! e.metaKey && e.key === "c")
{
e.preventDefault()
gridApiRef.current.showPreferences(GridPreferencePanelsValue.columns)
}
*/
else if (! e.metaKey && e.key === "f")
{
e.preventDefault()