Skip to content

How to make button clickable inside DataTable #583

@jan0991

Description

@jan0991

<Column onClick={() => this.props.selectItem()} body={() => <Button label="View"/>} header="Items" sortable={true}/>

Clicking above doesn't work as parent(DataTable) and onSelectionChange captures the click. How do I make it ignore specific column? And how do I capture clicked row info onClick? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions