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(RowDetail): Row Detail extension should work with editable grid #896

Merged
merged 2 commits into from
Feb 9, 2023

Conversation

ghiscoding
Copy link
Owner

  • this issue was brought up in a SO question that is now deleted, the main problem was that Row Detail was never tested with editable grids and was throwing an error
  • while testing with editable grid, we should also collapse all row detail when clicking on an editable cell to avoid UI issues with active cell which was showing up over the row detail panel and causing UI weirdness
  • also found that the SlickRowDetail wasn't always merging its internal options with a default set of options, it was only using the options defined by the user and omitting any default values which caused problem and that was caught with useRowClick: false that ended up not working as expected

demo with Angular-Slickgrid - Row Detail

msedge_wf3WvS0C4S

- this issue was brought up in a SO question that is now deleted, the main problem was that Row Detail was never tested with editable grids and was throwing an error
- while testing with editable grid, we should also collapse all row detail when clicking on an editable cell to avoid UI issues with active cell which was showing up over the row detail panel and causing UI weirdness
- also found that the SlickRowDetail wasn't always merging its internal options with a default set of options, it was only using the options defined by the user and omitting any default values which caused problem and that was caught with `useRowClick: false` that ended up not working as expected
@codecov
Copy link

codecov bot commented Feb 9, 2023

Codecov Report

Merging #896 (0bd8042) into master (7f95f69) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #896   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          244       244           
  Lines        16547     16563   +16     
  Branches      5890      5895    +5     
=========================================
+ Hits         16547     16563   +16     
Impacted Files Coverage Δ
packages/common/src/services/gridEvent.service.ts 100.00% <100.00%> (ø)
...s/row-detail-view-plugin/src/slickRowDetailView.ts 100.00% <100.00%> (ø)
packages/utils/src/utils.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 99677f0 into master Feb 9, 2023
@ghiscoding ghiscoding deleted the bugfix/row-detail-with-editable-grid branch February 9, 2023 15:48
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