The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team 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]);
}