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 +5 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/cell.utils.ts +7 -0
package/dist/index.js
CHANGED
@@ -528,6 +528,11 @@ const openEditingCell = ({ cell, table, }) => {
|
|
528
528
|
const cellKeyboardShortcuts = ({ cell, cellElements, cellValue, containerElement, event, header, parentElement, table, }) => {
|
529
529
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
530
530
|
debugger;
|
531
|
+
if (event.altKey && event.key.toLowerCase() === 'n') {
|
532
|
+
event.preventDefault();
|
533
|
+
table.options.enableKeyboardShortcuts = !table.options.enableKeyboardShortcuts;
|
534
|
+
return;
|
535
|
+
}
|
531
536
|
if (!table.options.enableKeyboardShortcuts)
|
532
537
|
return;
|
533
538
|
if (event.isPropagationStopped())
|