-1

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

2
  • 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 stackoverflow.com/help/how-to-ask Commented Sep 8, 2017 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 Commented Sep 8, 2017 at 12:30

2 Answers 2

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)

Sign up to request clarification or add additional context in comments.

Comments

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.