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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

retrieving value of hidden gridlistcontrol column

Thread ID:





10667 Feb 9,2004 07:31 PM UTC Feb 9,2004 09:46 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On February 9, 2004 07:31 PM UTC

Hi, How do I retrieve the value of a hidden gridlistcontrol type of column after the use makes a selection from the list? I want to filter two other columns in the grid based on this value. Thanks, CB

Administrator [Syncfusion]
Replied On February 9, 2004 09:46 PM UTC

You can get the DataRowView object that is the SelectedItem in the CurrentCellCloseDropDown event (if your GridListControl''s DataSource is a DataTable). private void gridControl1_CurrentCellCloseDropDown(object sender, Syncfusion.Windows.Forms.PopupClosedEventArgs e) { GridCurrentCell cc = this.gridControl1.CurrentCell; GridDropDownGridListControlCellRenderer cr = cc.Renderer as GridDropDownGridListControlCellRenderer; DataRowView drv = ((GridDropDownGridListControlPart)cr.ListControlPart).SelectedItem as DataRowView; Console.WriteLine(drv[0]); }


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

Live Chat Icon For mobile
Live Chat Icon