Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
This repository was archived by the owner on Jun 28, 2021. It is now read-only.

DataTable: Is there any option to handle onSelectionChanged with out enabling selectable #491

Open
@viswanathm

Description

@viswanathm

Hi,

I am using Data Table, I want to handle row click event. There is an option to enable 'selectable and then write a handler using 'onSelectionChanged'. But enabling 'selectable', I get checkboxes, which I don't want.

Is there any way to use onSelectionChanged, without showing checkboxes? or is there a way to access table or tr HTML tags that are rendered on to DOM, in componentDidMount()? so that I can manually bind click event on mount.

Thanks,
Viswanath

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