-
-
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
Sorting on multiple tables in same page #66
Comments
Can you provide more code? |
Which particular part of code are you looking for? |
To help you i need to see how you're sorting both tables. Provide code for both tables (html) and the part where you set order for both collections as well (ts). |
|
@VadimDez Hi. Is there any update on this ? Please let me know if you need anything more information. |
In my case I have to ng-fors that are not nested but they share the same sorting options and settings Here you can see my case with code and with my "solution" which is not ideal |
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. |
I would like to have sorting on multiple tables which are in same page. I tried to follow this documentation. When I'm sorting the table 1, table 2 is also getting sorted.How do I implement this on multiple tables separately. ?
order: any; reverse: boolean = false; setOrder(value: string) { if (this.order === value) { console.log(this.order) this.reverse = !this.reverse; } this.order = value; }
Table 1 :
Table 2 :
The text was updated successfully, but these errors were encountered: