How to get the filtered Value in WinForms GridGroupingControl?
In WinForms GridGroupingControl, filtered values can be accessed through the RecordFiltersItemChanged event of GridExcelFilter. This event is triggered once a filter has been applied to the GridGroupingControl.
//Event subscription
gridExcelFilter.RecordFiltersItemChanged += OnRecordFiltersItemChanged;
//Event customization
private void OnRecordFiltersItemChanged(object sender, ListPropertyChangedEventArgs e)
{
var filteredValues = (e.Tag as Dictionary<string, List<string>>).Values;
}
Take a moment to peruse the WinForms GridGroupingControl - RecordFiltersItemChanged event documentation, where you can find about the filtering with code examples.
Conclusion
I hope you enjoyed learning how to get the filtered Value in WinForms GridGroupingControl?
You can refer to our WinForms Grid Control feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started with configuration specifications. You can also explore our WinForms DataGrid example to understand how to create and manipulate data.
For current customers, check out our components from the License and Downloads page. If you are new to Syncfusion, try our 30-day free trial to check out our other controls.
Please let us know in the comments section if you have any queries or require clarification. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!