Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyevent on checkbox selection #49

Open
AvrajitBhattacharjee opened this issue Oct 13, 2020 · 0 comments
Open

Keyevent on checkbox selection #49

AvrajitBhattacharjee opened this issue Oct 13, 2020 · 0 comments

Comments

@AvrajitBhattacharjee
Copy link

AvrajitBhattacharjee commented Oct 13, 2020

Hi Team,
First of all thank you for this lovely Tree component, really an awesome one.

Now come to the point, while doing some development, I am having some thought where can we have key event when we are clicking on checkbox to select tree element so that I can check if user has pressed control(CTRL) key while doing checkbox selection, by this way we can allow only one row selection at a time normally and then when CTRL key selection is done, that time we can select multiple rows.

If this is possible, this component will really be an gamechanger ,10 out of 10.

Eagerly waiting for this functionality, please add that.

onCheckToggleCb={(arrayOfNodes, depth) => {
---------------> here can we get key event or button that has been pressed(if any) while checkbox selection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant