Skip to content

Keyevent on checkbox selection  #49

Open
@AvrajitBhattacharjee

Description

@AvrajitBhattacharjee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions