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

DataTable onClick prop #201

Closed
tukic-croz opened this issue Feb 9, 2024 · 0 comments · Fixed by #211
Closed

DataTable onClick prop #201

tukic-croz opened this issue Feb 9, 2024 · 0 comments · Fixed by #211
Labels
enhancement New feature or request

Comments

@tukic-croz
Copy link

Basic information

  • Tiller version: latest
  • Module: data-display

Enhancement description

Expand DataTable actions by adding onClick prop which will enable adding custom actions when specific row in table is clicked.

Current behaviour

DataTable component currently does not have on click functionality but onDoubleClick action is enabled.

Wanted behaviour

onClick prop should be function that has parameter of type T (entity of clicked row in table) and returns void. Function should be called when user clicks on table row.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant