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

Drop down list in the datagrid.

Thread ID:





61377 May 24,2007 12:41 PM UTC May 24,2007 02:50 PM UTC WinForms 1
Tags: GridControl
Asked On May 24, 2007 12:41 PM UTC


i've a datagrid(GDBG) colummn which celltype is a "GridListControl".

how to i get the selected value and store the value to another column?

Is there any event like "SelectionChangeCommitted"?

haneefm [Syncfusion]
Replied On May 24, 2007 02:50 PM UTC

Hi Lim,

You can access the GridDropDownGridListControlCellRenderer and subscribe to the SelectedValueChanged event which, is analogous to the SelectionChangeCommitted event. Below is a code snippet

//Form Load....
GridDropDownGridListControlCellRenderer cr = this.grid.CellRenderers["GridListControl"] as GridDropDownGridListControlCellRenderer;
if( cr != null)
cr.ListBoxPart.SelectedValueChanged+=new EventHandler(ListBoxPart_SelectedValueChanged);

private void ListBoxPart_SelectedValueChanged(object sender, EventArgs e)
ListBox list = sender as ListBox;
DataRowView row = list.SelectedItem as DataRowView;
if( row != null)

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

or the page will be automatically redirected to 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