Navigation:  Basic UI Techniques > Handling Grids >

Sorting Grid Columns

Print this Topic Previous pageReturn to chapter overviewNext page

Single Column Sort

You can sort data in a column by clicking on the column header. On each clicking, the data will be sorted in ascending or descending order alternately.




Multicolumn Sort

You may sort more than one column simultaneously. The basic rule of doing a multicolumn sort is: "small groups first, large groups last". For example, say, we want to sort the finishing position of a horse for each Distance - Race Class combination. We will order distance so that the same distance goes into a group (largest group, do last). For starts of the same distance, records are group be race classes. Within the same race class records will be ordered by finishing positions (smallest group, do first).




Page url: