In this article I m going to explain how to implement pagination and sorting with Angular UI Grid in MVC application.
In the previous article I have explained how to Display data with Angular UI Gridin MVC application, how to get the number of days between two dates and convertdays into month(s) and day(s) and how to generate barcode in asp.net.
In last article of UI grid I have explained how to display records. Now I want to sort the data ascending and descending order and implement pagination. For pagination you have to set page size and enable the sorting as
paginationPageSizes: [5, 10, 15],