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: (re)add option to cancel Row Detail opening #1286

Merged
merged 3 commits into from
Dec 27, 2023

Conversation

ghiscoding
Copy link
Owner

- user can now prevent event and return false on `onBeforeRowDetailToggle` event to cancel opening certain Row Detail, for example the code below would block opening Row Detail when its id is `1`
- I tried to implement this feature in a previous PR #1125 but that introduced a regression which is got fixed in this PR and reintroduces this feature without regressing this time.
Copy link

codecov bot commented Dec 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (bb18bb5) 89.1% compared to head (c2c231e) 89.1%.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #1286     +/-   ##
========================================
+ Coverage    89.1%   89.1%   +0.1%     
========================================
  Files         198     198             
  Lines       21343   21349      +6     
  Branches     7100    7103      +3     
========================================
+ Hits        18998   19004      +6     
  Misses       2345    2345             

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ghiscoding ghiscoding merged commit f08925c into master Dec 27, 2023
5 checks passed
@ghiscoding ghiscoding deleted the chore/cancellable-onbeforerowdetail branch December 27, 2023 07:01
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.

1 participant