jQWidgets Forums
jQuery UI Widgets › Forums › Grid › What does keyboardnavigation do?
Tagged: grid, jquery grid
This topic contains 12 replies, has 2 voices, and was last updated by zero 5 years, 11 months ago.
-
Author
-
Table produced with jqx grid
enablebrowserselection: true This will copy the entire row.
ex) |1|2|3|
If you copy 3 by dragging, all 1, 2, and 3 are copied.However, if you add keyboardnavigation: false, only the portion you dragged will be copied.
ex) |1|2|3|
3 is dragged and copied, and 3 is copiedKeyboardnavigation function : Enables or disables the keyboard navigation.
Why does this happen when I add keyboardnavigation?
Hi keyboardnavigation,
keyboardnavigation enables/disables the built-in navigation with arrow keys, tab, enter, esc, etc in the Grid. It also enables/disables the Grid’s built-in Clipboard capabilities which much resemble MS Excel. You can also customize it by using the handlekeyboardnavigation method.
Best Regards,
Peter StoevjQWidgets team
https://www.jqwidgets.comHello admin
I set keyboardnavigation to false, but I can use keys such as page up and page down. why?
However, the built-in clipboard is not available.
Why do I use the built-in navigation but the built-in clipboard is not available?
Add :
keyboardnavigation: false
Hi zero,
clipboard is available. You have to select a cell or column and press Ctrl+C for example. This is tested and works fine.
Best Regards,
Peter StoevjQWidgets team
https://www.jqwidgets.comWhy can I use the clipboard? I set keyboardnavigation to false
Hi zero,
keyboardnavigation disables the Grid’s keyboard navigation – selection, built-in clipboard, editing, etc.
If you want to disable the browser’s built-in selection, use:$('#jqxGrid').jqxGrid({ enablebrowserselection: true});
keyboardnavigation and enablebrowserselection work independently. Setting the keyboardnavigation to false does not affect how enablebrowserselection works.
Best Regards,
Peter StoevjQWidgets team
https://www.jqwidgets.comSo why does Page Up and Page Down work?
Hi zero,
When keyboard navigation is false, the built-in handling of Grid’s PageUp/PageDown is disabled. We do not handle these. Web Browser handles these keys, too. For example, while you’re reading this, press PageUp/PageDown. The behavior is the same.
Best Regards,
Peter StoevjQWidgets team
https://www.jqwidgets.comThank you for answer.
However, I do not know why all rows are copied if I addenablebrowserselection: true
ex) |1|2|3|
If you copy 3 by dragging, all 1, 2, 3 are copied.Hi zero,
It’s coming by the web browser’s behavior when enablebrowserselection is true. We are not aware how web browsers handle the drag selection.
Best Regards,
Peter StoevjQWidgets team
https://www.jqwidgets.comOk.
Do not know why you’re seeing it when you add code?
keyboardnavigation: false
ex) |1|2|3|
3 is dragged and copied, and 3 is copiedHi zero,
They are not unrelated settings. Drag with mouse selection and keyboard navigation are not related behaviors.
Best Regards,
Peter StoevjQWidgets team
https://www.jqwidgets.comkeyboardnavigation makes this table statically?
Tell us specifically what you can not do when you disable keyboardnavigation
thank
-
AuthorPosts
You must be logged in to reply to this topic.