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

Feat on row callback #51

Merged
merged 2 commits into from
Aug 2, 2022
Merged

Feat on row callback #51

merged 2 commits into from
Aug 2, 2022

Conversation

Kuechlin
Copy link
Owner

@Kuechlin Kuechlin commented Aug 2, 2022

Closes #50

Description

Callback for onRow and onCell added to set additional properties, inspired by ant design

Current Tasks

  • add onRow callback
  • add onCell callback
  • update docs

Example

onRow={(row) => ({
    onDoubleClick: () => alert(`You clicked on row ${row.index}`),
})}

Yannick Küchlin added 2 commits August 2, 2022 13:13
can be used to apply additional props to row and cell
@Kuechlin Kuechlin merged commit 1f662d1 into main Aug 2, 2022
@Kuechlin Kuechlin deleted the feat-onRow-callback branch August 2, 2022 11:38
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

Successfully merging this pull request may close these issues.

Should be added
1 participant