MY ACCOUNT  |  LOGIN

Sales: 1-888-936-8638

ORDER ONLINE >

 

  


  Windows Forms
      Products
   Essential PDF
   Essential XlsIO
   Essential DocIO
   Essential Calculate
   Essential Grouping
    Version History
    Free Trial
    Order Online
    What's New
    Development Build
    Roadmap



<<Previous |  Next>>

Supports IComparer

Users may provide an IComparer object to customize the sort behavior. With IComparer objects, it is possible to do things like always position empty values at the bottom of the sorts.

The following is a graphic detailing the use of a custom IComparer object. In the picture, column B has values like b73, b31, etc. By default, this column would be sorted alphabetically. But with a custom sort, a user may strip off the leading 'b', and have the column displayed numerically sorted ignoring the 'b'. The picture shows both the default and custom sort results.

Sort results from both a default sort and a custom sort on column B

Sort results from both a default sort and a custom sort on column B


<<Previous |  Next>>

© 2001-2008 Copyright Syncfusion Inc. All rights reserved.  |  Privacy Policy  |  Contact  |  Sitemap  |