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 drop down control in the grid

Thread ID:





50788 Oct 18,2006 11:28 PM UTC Oct 30,2006 07:09 AM UTC WinForms 1
Tags: Grouping
Paulo Cristini
Asked On October 18, 2006 11:28 PM UTC

Like a normal drop down control is there any way to set the "Sorted" property to true for the drop down cells on the grid?

Administrator [Syncfusion]
Replied On October 30, 2006 07:09 AM UTC

Hi Paulo,

We apologize for the delay in responding to you and also we thank for your patience.

To sort the dropdown control of the Grid, you need to handle the CurrentCellShowingDropDown event. Below is a code snippet

GridDropDownGridListControlCellRenderer cr = this.gridControl1.CurrentCell.Renderer as GridDropDownGridListControlCellRenderer;
if(cr != null)
DataTable dt = cr.ListControlPart.DataSource as DataTable;
dt.DefaultView.Sort = "[ColumnName] DESC";

Best Regards,


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