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

Sorting by display member for DataBoundGrid for 4.1

Thread ID:

Created:

Updated:

Platform:

Replies:

47401 Aug 3,2006 10:01 PM UTC Aug 7,2006 08:55 PM UTC WinForms 2
loading
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.

Thanks,
Sachin

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.

Regards,
Rajagopal

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

Hi,

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.

Thanks,
sachin

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

;