-
Notifications
You must be signed in to change notification settings - Fork 32
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
Numerous problems with draggable rows in combination with grouping #54
Comments
Hi, Thanks! |
The example shows the current bugs. What doesn't work exactly? |
If you debug the code you will see it does not work correctly. When you drags a row between two group headers, the returned 'toIndex' is -1. |
Any updates on this? |
Hello @elineopsommer we will try to look into this and let you know. |
Hi @elineopsommer, |
@gdaszuta I guess there is a problem with the codepen? I can't move a row between two groupheaders? |
@elineopsommer I just reformatted your patch – but I see what you mean. It works – sort of. I think I see the problem – it looks like there are two drop zones separated by one pixel in bottom of row directly above group header – in the codepen one of them works, one don't. When I tested it locally, both was working on the same release. Probably I need some more time to investigate this behavior. |
@gdaszuta Thanks for looking into this! |
@gdaszuta Did you already find time to look into this? |
There are numerous problems in combination with grouping.
When you drag a row between two group headers you expect the row to be inserted at the correct position.
For example: if you drags a row below a group header, the dragged row needs to be inserted at the target group header. If you drags a row above a group header, the dragged row needs to be inserted at the group header above the target.
I created a codepen to show the problem.
codepen
I also created a PR (which is probably not fully covered, but the main problem is covered)
pull request
Thanks for looking into this.
The text was updated successfully, but these errors were encountered: