We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Request for Help Sorting a Column Numerically

Thread ID:

Created:

Updated:

Platform:

Replies:

99285 May 11,2011 12:21 AM UTC May 19,2011 09:32 PM UTC WinForms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On May 11, 2011 12:21 AM UTC

I'm using a GridDataBoundGrid. For this particular grid, it makes sense to sort numerically on one of the columns. When I sort on the column, however, the results are baffling; the column isn't sorted numerically, and it isn't sorted alphabetically.

Is there an option to make a column sort numerically? I've seen several posts here in the forum which discuss how to apply a custom sort order to a column. If necessary, I will do that. However, sorting numerically seems pretty basic, and I'm wondering if there's a property for that.

-TC


Arulraj A [Syncfusion]
Replied On May 19, 2011 09:32 PM UTC

Hi,

By default the columns sorts for both text data and numeric value. Please refer the Sort by Display Member Demo from the dashboard where sorting is performed for text and numeric and also for Display member also.

Sample location:
{installed drive}\Users\{UserName}\AppData\Local\Syncfusion\EssentialStudio\{Version}\Windows\Grid.Windows\Samples\2.0\Data Bound\Sort By DisplayMember Demo

Please have a look at the preceding sample and if still the issue exists, could you please try reproducing it in the above sample or send us the reproducing steps so that we could sort out the cause of the issue and provide you a solution?

Regards,
Arulraj.A


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;