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

Sorting by display member for DataBoundGrid for 4.1

Thread ID:





47401 Aug 3,2006 10:01 PM UTC Aug 7,2006 08:55 PM UTC WinForms 2
Tags: GridControl
Sachin Bamel
Asked On August 3, 2006 10:01 PM UTC

Is the default sorting behavior of a GDBG with a dropdown column on value member instead of display member has been resolved in version 4.1. I cannot use a foreign key column as the grid I am using is generically used at no of places will not be able to hard caode the column names directly.


Administrator [Syncfusion]
Replied On August 4, 2006 06:48 AM UTC

Hi Sachin,

Please refer to the DataBoundSortByDisplayMember sample in the Syncfusion browser samples shipped with the product.

C:\Program Files\Syncfusion\Essential Studio\4.1\Windows\Grid\Samples\DataBound\DataBoundSortByDisplayMember

The aboove sample has a solution for sorting a column by its display member instead of the value member of the column.

Let us know if you need any further assistance.
Thanks for using Syncfusion Products.


Sachin Bamel
Replied On August 7, 2006 08:55 PM UTC


As I said I earlier cannot use the code in the sample as I am setting the styleinfo.Displaymember & styleinfo.valuemember of the view instead of 2 different columns in a view as explained in the sample. Also I cannot hard code the column names as it is generic code.



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