jQWidgets Forums

jQuery UI Widgets Forums Grid Trigger multi-sort only when pressing control

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 5 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • robf
    Participant

    Hello,
    I’ve added multisort with sortmode: “many”, but users seem to get confused when they click on different columns for a single-sort only – since clicking on a new column heading immediately ADDS to the multisort. Is there a way to add a hot-key-select e.g. click heading while holding CTRL key adds to multisort?

    Any ideas?
    Thanks
    Rob


    Hristo
    Participant

    Hello Rob,

    We do not have such an example but you could try it.
    I would like to suggest the handlekeyboardnavigation callback to handle the case when the CTRL” key is pressed.
    When it is pressed then set sortmode: "many" option.
    After that return the default state – sortmode: "one" option.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.