Available in the Full Version

Data Grid - Sorting (Local)

This sample is designed for a larger screen size.

On mobile, try rotating your screen, view full size, or email to another device.

This sample demonstrates the local sorting functionality of the igGrid control. When sorting is local, the sorting UI functionality is handled by the igGridSorting jQuery widget, while all data-related logic is handled by the igDataSource control. The sorted column headers have sorting indicators applied, so that sortable columns are distinguished visually from the rest of the columns in the grid. The column cells belonging to the sorted column may also be styled (which is enabled by default), and the custom styling may be turned off by setting the applyColumnCss property to false.

Code View

Copy to Clipboard