jQWidgets Forums

jQuery UI Widgets Forums Grid What does keyboardnavigation do?

Tagged: ,

This topic contains 12 replies, has 2 voices, and was last updated by  zero 5 years, 11 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
  • What does keyboardnavigation do? #105242

    zero
    Participant

    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 copied

    Keyboardnavigation function : Enables or disables the keyboard navigation.

    Why does this happen when I add keyboardnavigation?

    What does keyboardnavigation do? #105244

    admin
    Keymaster

    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 Stoev

    jQWidgets team
    https://www.jqwidgets.com

    What does keyboardnavigation do? #105250

    zero
    Participant

    Hello 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

    What does keyboardnavigation do? #105251

    admin
    Keymaster

    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 Stoev

    jQWidgets team
    https://www.jqwidgets.com

    What does keyboardnavigation do? #105255

    zero
    Participant

    Why can I use the clipboard? I set keyboardnavigation to false

    What does keyboardnavigation do? #105256

    admin
    Keymaster

    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 Stoev

    jQWidgets team
    https://www.jqwidgets.com

    What does keyboardnavigation do? #105258

    zero
    Participant

    So why does Page Up and Page Down work?

    What does keyboardnavigation do? #105259

    admin
    Keymaster

    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 Stoev

    jQWidgets team
    https://www.jqwidgets.com

    What does keyboardnavigation do? #105260

    zero
    Participant

    Thank you for answer.
    However, I do not know why all rows are copied if I add enablebrowserselection: true

    ex) |1|2|3|
    If you copy 3 by dragging, all 1, 2, 3 are copied.

    What does keyboardnavigation do? #105263

    admin
    Keymaster

    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 Stoev

    jQWidgets team
    https://www.jqwidgets.com

    What does keyboardnavigation do? #105264

    zero
    Participant

    Ok.

    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 copied

    What does keyboardnavigation do? #105266

    admin
    Keymaster

    Hi zero,

    They are not unrelated settings. Drag with mouse selection and keyboard navigation are not related behaviors.

    Best Regards,
    Peter Stoev

    jQWidgets team
    https://www.jqwidgets.com

    What does keyboardnavigation do? #105292

    zero
    Participant

    keyboardnavigation makes this table statically?

    Tell us specifically what you can not do when you disable keyboardnavigation

    thank

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.