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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Sort by formatted text

Thread ID:





70687 Dec 26,2007 10:52 PM UTC Dec 27,2007 11:40 AM UTC WinForms 1
Tags: GridControl
Asked On December 26, 2007 10:52 PM UTC

I have derived from a model, and configure a column to use the model and renderer that I wrote.
Than I derived from the function GetFormattedText in order to display formattedText.

How can I sort a column (By clicking his header) by the formatted text that is displayed in the cells ??


Sri Subhashini M [Syncfusion]
Replied On December 27, 2007 11:40 AM UTC

Hi Yoni,

Thank you for using Syncfusion product.

You need to implement a custom sorting to do this. You can add a custom IComparer to the SortColumnDescriptor for this column. You do this by setting the Comparer property on the SortColumnDescriptor. In your custom IComparer object, you can sort based on any criteria of your choice.

When you do custom sorting in the grid, then you need to use custom grouping for handling the groups.

Please refer these forum threads

See the following KB article for more details on this.


Please let me know if you need any further assistance.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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