Skip to content

[FEATURE]: Redirection after click, middle click #1294

@makkmarci13

Description

@makkmarci13

Is your feature request related to a problem? Please describe

I can't make redirect on click and middle click (so same page and blank page) in the same datatable. Currently I'm using with onRowClicked={(row) => navigate(`target here`)}, but this only redirects in the same page. I want to achieve a same behavior, like NavLinks for the whole rows.

Like when I click with left click, open in same tab. When I click with middle (scroll), open it in a blank tab.

Currently ctrl+click can be detected from the event, but scroll click sadly not.

Describe the solution you'd like

A similar event would be good, or just make a general click event which provide any type of clicks.

Describe alternatives you've considered

Currently I don't have alternative solution.

Additional context

None.

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