-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Reordering columns throws an exception and no further operation can be performed on the grid #438
Comments
@amcdnl Issue doesn't seem to be related to reordering only. Sorting also randomly throws the same exception: "./DataTableHeaderComponent class DataTableHeaderComponent - inline template:7:8 caused by: object unsubscribed" and brings the entire application down. |
Can you make a demo? |
The online demo here: http://swimlane.github.io/ngx-datatable/. |
Fixed :) |
:D |
Resolved. Thnx! |
@amcdnl |
@rotemx I have the same problem as you Once the app is loaded try to toggle the Name Coulmn, the first untoggle/toggle works There is no problem if you are adding the column ad the end though |
I think this has been resolved. I'm about to do a new build and can you retest? |
I'm submitting a ... (check one with "x")
Current behavior
Immediately after a column is reordered, the exception "./DataTableHeaderComponent class DataTableHeaderComponent - inline template:7:8 caused by: object unsubscribed" is thrown and no further operation (such as column reordering, sorting) can be performed on the grid
Expected behavior
Sorting, reordering, all feature set should continue to work
Reproduction of the problem
Go to the demo application (happens in local version too) and drag and reorder any column. After reordering no further sorting or re ordering can be done
What is the motivation / use case for changing the behavior?
The grid should not stop working after a standard operation. It only works again until the entire page is reloaded
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: