Hi Matt,
Thank you for your interest in Syncfusion products.
If you want get a FilterBarCell selected value, then please try using TableControlCurrentCellCloseDropDown event in GridGroupingControl to achieve your behavior. Because only the DisplayText only is passed to GridGroupingControl.
Refer the code below:
Hashtable tab = new Hashtable();
// Form Load
this.gridGroupingControl1.TopLevelGroupOptions.ShowFilterBar = true;
this.gridGroupingControl1.TableDescriptor.Columns["Ship"].AllowFilter = true;
this.gridGroupingControl1.TableControlCurrentCellCloseDropDown += new GridTableControlPopupClosedEventHandler(gridGroupingControl1_TableControlCurrentCellCloseDropDown);
tab.Add("Ship", "");
// Event definition
void gridGroupingControl1_TableControlCurrentCellCloseDropDown(object sender, GridTableControlPopupClosedEventArgs e)
{
GridTableCellStyleInfo sty = e.TableControl.CurrentCell.Renderer.StyleInfo as GridTableCellStyleInfo;
if (sty.TableCellIdentity.TableCellType == GridTableCellType.FilterBarCell)
{
GridComboBoxCellRenderer ren = e.TableControl.CurrentCell.Renderer as GridComboBoxCellRenderer;
tab[sty.TableCellIdentity.Column.Name] = ren.ListBoxPart.SelectedItem;
}
}
Refer the sample from below link:
http://files.syncfusion.com/support/samples/Grid.Windows/7.3.0.20/Forums/GGCFilterValue.zipPlease let me know if you have any queries.
Regards,
Lingaraj S.