how to sorting table column name in angular2/ angular4.i tried so many refernce link.but couldn't get execute properly.kindly give any reference link for angular2/ angular4
Asked
Active
Viewed 8,827 times
-1
-
do some google, or put something here what have you done or tried for it. simple asking for a solution is not a good way to ask the question, please check how to ask link https://stackoverflow.com/help/how-to-ask – HD.. Sep 08 '17 at 12:12
-
actually im doing employee leave management application by suing angular2 for front end and dotnet(c#) for backend.in that app employee will ask leave to manager and gets approval.so in emp dashboard should shows histry of leaves .by the way emp can sorting the leave histry table by sort by or order by.so genius can help here – Aravind Sep 08 '17 at 12:30
2 Answers
0
[here is a plunker you can see it] (http://embed.plnkr.co/4eXHag)
another
[and ...] (Sorting data in table angular 2)
[and the last one] (angular 2 sort and filter)

Steve Ruben
- 1,336
- 11
- 20
0
I don't think Angular encourages to use pipes to sort columns of a table. Instead the sorting mechanism needs to stay within the component itself.

srivem
- 1
- 1