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

Bugfix on expanding last row of a grouped view #937

Closed
wants to merge 1 commit into from
Closed

Bugfix on expanding last row of a grouped view #937

wants to merge 1 commit into from

Conversation

pigiax
Copy link

@pigiax pigiax commented May 7, 2014

When you have a grouped view, and expanding the last one there are 2 problems:

  1. The last row expander style is not changed
  2. Expanding another row, will duplicate the last one

When you have a grouped view, and expanding the last one there are 2 problems:
1) The last row expander style is not changed
2) Expanding another row, will duplicate the last one
@csigrist
Copy link

Thanks so much for fixing this. I hope it gets rolled into the master branch soon.

@icoxfog417
Copy link
Contributor

It may be fixed by Pull #898 also.

It is not merged to master branch, but I already merged to my fork.
https://github.com/icoxfog417/SlickGrid/tree/mergeFix

@6pac
Copy link

6pac commented Mar 13, 2015

An equivalent patch has been integrated into my 'alternative master'. Any testing is appreciated. See #1055

jesenko pushed a commit to plandela/SlickGrid that referenced this pull request Dec 29, 2023
…man#937 (mleibman#938)

* fix: only allow row drag on cell w/`dnd` or `cell-reorder`, fix mleibman#937
- a previous PR mleibman#897 caused a regression on a cell with a select dropdown (like `Slick.Editors.YesNoSelect`), the regression was caused by the implementation of Draggable `allowDragFromClosest` which will check if current DOM element is `.slick-cell` or if not it will also try its ancestor and that caused the regression because the cell with the editor also had a `.slick-cell` and so the code taught that the user started a drag and it cancelled event bubbling which in turn also prevented the select dropdown to be clickable.
- to fix this issue we need to make sure that the cell is queried not just with `div.slick-cell` but also with certain CSS classes, we need to check if parent has either `.dnd` or `.cell-reorder` to permit the dragging when checking parent cell with `allowDragFromClosest`
@pigiax pigiax closed this by deleting the head repository Apr 17, 2024
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.

4 participants