material-react-table-narender 2.13.11 → 2.13.12

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.esm.js CHANGED
@@ -437,6 +437,11 @@ const openEditingCell = ({ cell, table, }) => {
437
437
  const cellKeyboardShortcuts = ({ cell, cellElements, cellValue, containerElement, event, header, parentElement, table, }) => {
438
438
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
439
439
  debugger;
440
+ if (event.altKey && event.key.toLowerCase() === 'n') {
441
+ event.preventDefault();
442
+ table.options.enableKeyboardShortcuts = !table.options.enableKeyboardShortcuts;
443
+ return;
444
+ }
440
445
  if (!table.options.enableKeyboardShortcuts)
441
446
  return;
442
447
  if (event.isPropagationStopped())