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

fix(addons): onGroupChanged callback should be executed with Draggable #826

Merged
merged 1 commit into from
Nov 30, 2022

Conversation

ghiscoding
Copy link
Owner

@ghiscoding ghiscoding commented Nov 30, 2022

  • after rewriting all SlickGrid plugins into standalone Slickgrid-Universal extensions (in commit 8e6eb48), it seems that the onGroupChanged function callback was forgotten and the new code was never executing it when it was defined as a function callback by the user, this PR fixes that. Note that the onGroupChanged can be both a function callback (defined by the user in its grid option) and a Slick Event that has notify/subscribe

- after rewriting all SlickGrid plugins into standalone  Slickgrid-Universal extensions, it seems that the `onGroupChanged` function was forgotten and the new code was never executing it when it was defined as a function callback by the user, this PR fixes that
@codecov
Copy link

codecov bot commented Nov 30, 2022

Codecov Report

Merging #826 (531219a) into master (76817e3) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #826   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          239       239           
  Lines        16362     16366    +4     
  Branches      5776      5777    +1     
=========================================
+ Hits         16362     16366    +4     
Impacted Files Coverage Δ
...es/common/src/extensions/slickDraggableGrouping.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ghiscoding ghiscoding merged commit 35c2631 into master Nov 30, 2022
@ghiscoding ghiscoding deleted the bugfix/draggable-on-group-changed-callback branch November 30, 2022 05:20
ghiscoding added a commit to ghiscoding/aurelia-slickgrid that referenced this pull request Dec 1, 2022
- add E2E tests for the real fix that was applied in Slickgrid-Universal [PR](ghiscoding/slickgrid-universal#826)
ghiscoding added a commit to ghiscoding/Angular-Slickgrid that referenced this pull request Dec 1, 2022
- add E2E tests for the real fix that was applied in Slickgrid-Universal [PR](ghiscoding/slickgrid-universal#826)
ghiscoding added a commit to ghiscoding/aurelia-slickgrid that referenced this pull request Dec 2, 2022
#903)

- add E2E tests for the real fix that was applied in Slickgrid-Universal [PR](ghiscoding/slickgrid-universal#826)
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