Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Need option to enable shift+click multi-column sorting #60

Open
adlaird opened this issue Jan 10, 2017 · 1 comment
Open

Need option to enable shift+click multi-column sorting #60

adlaird opened this issue Jan 10, 2017 · 1 comment
Assignees
Labels

Comments

@adlaird
Copy link
Collaborator

adlaird commented Jan 10, 2017

initial proposed structure of this option:

sorting: {
  type: 'multiple' || 'single' (default: 'multiple'),
  modifierActive: true || false (default: true)
}

multiple + true means shift+click will clear sorting and only sort by current column being clicked
single + true means shift+click will keep existing sort and add on current column being clicked

@jonshaffer
Copy link
Owner

Could we add a property modiferKey: 'shift', even if it only supports on key type in the beginning?

@adlaird adlaird self-assigned this Jan 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants