Where minds and technology meet.
Search Site GrapeCity Portal Home
We've Moved! This is an archived version of our site.
Please update any bookmarks and visit GCPowerTools.com for the most current product information.
 »Spread for Windows Forms  » Product Tour  » Sorting jump to:

Sorting

You can sort the data displayed in the sheet either by column or by row.



Typically, all the rows of a sheet are sorted by the values in a particular column. But FarPoint Spread allows multiple ways to perform a sort with various properties and methods for setting up each type of sorting.

The sort order can be in ascending order (A to Z, zero to 9) or descending order (Z to A, 9 to zero). The method of comparison can be customized. You can select which values to use as a key when comparing to sort the values. The sort indicator, often an arrow, can be displayed in the header for the column being used as a sort key.

The sorting depends on the data type of the values in the cells. If you sort cells with data of the DateTime type, then it sorts those cells by date, and if you sort cells with data of the string type, it sorts those cells alphabetically.



"As a long time user of your Spread COM product I have always been pleased with the flexibility and user friendly aspects of the control and it is great to see that your Windows Forms control continues this tradition!

Now that you are part of the same company which created ActiveReports (another product I have been a user of for a long time) I look forward to creating feature rich applications which will benefit my customers and my company. Excited to get started!"

Jeff Penchoff
Manager of Software Development
Asset Systems, Inc
http://www.assetsystems.com