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

Custom Sorting in GridDataBoundGrid

Thread ID:





75035 Jul 9,2008 04:56 PM UTC Jul 15,2008 06:32 AM UTC WinForms 3
Tags: GridControl
Administrator [Syncfusion]
Asked On July 9, 2008 04:56 PM UTC

I am using GridDataBoundGrid.

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 another text in the cells of the grid from the text that is in the dataTable (the displayedText = FormattedText).

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

I asked this question before but I didn't said what grid I used and so I have got answer about grid that I didn't use in my code, and it wasn't suitable for me.


Jisha Joy [Syncfusion]
Replied On July 10, 2008 09:09 AM UTC

Hi Yoni,

Thank you for your interest in Syncfusion products.

Please refer the foloowing browser sample that is shipped with our products:


This sample also implements a solution for sorting a column by it's display member instead of the value member of the column.

Please try this and let me know if this helps.


Administrator [Syncfusion]
Replied On July 11, 2008 01:41 PM UTC

Can you give the example in the forum instead, I didn't figure out where to look at. and also I'm working with older version of syncfusion (I think Version 5).


Jisha Joy [Syncfusion]
Replied On July 15, 2008 06:32 AM UTC

Hi Yoni,

Thank you for your update.

This sample can also accessible from the dashboard. Please refer the location from DashBoard.

Window Forms Samples---> Grid Samples ---> DataBound--- > DataBoundSortByDisplayMember



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