-
-
Notifications
You must be signed in to change notification settings - Fork 57
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 during click #33
Comments
Same issue. I believe it is due to the pipe being impure, changed in this commit 90216f4. I created my own pipe that extends the import { Pipe } from '@angular/core';
import { OrderPipe } from 'ngx-order-pipe'
@Pipe({name: 'orderColumn'})
export class OrderColumnPipe extends OrderPipe
{
} Working fine. |
Same issue |
What version of |
I had the same problem with the latest version and solved it with @tabirkeland solution. thanks. |
For me, it's working with version 2.0.1 |
Thank you @tabirkeland your solution worked for me as well! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi,
I've implemented the ngx-order-pipe in angular 5 app where I am sorting the table on which rows are clickable to show more data and pipe is reordering the rows on click. May it be angular 5 compatibility issue/bug or I am doing something wrong?
`<ng-container *ngFor="let vdb of vdbs | orderBy: order">'
And my structure looks like that (clicking on row toogle the hidden table with multiple rows):
My sortable field is in main table rows
order: string = 'content.properties.DOMAIN.__text';
The text was updated successfully, but these errors were encountered: