• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 86
  • Last Modified:

Sorting in Angularjs

How do we sort a table in angularjs
0
Member_2_7967608
Asked:
Member_2_7967608
1 Solution
 
BigRatCommented:
You can use a filter, like here which uses the orderBy clause, or one uses a grid (and there are lots of them) which provides the sorting by clicking the column header, or you can make one yourself like this one.

Personally I wouldn't reinvent the wheel and use a grid or table component like ng-grid
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now