Category / Section
How to get the filtered rows after applying the excel filter in WinForms GridGroupingControl?
Filter records
The FilteredRecords collection
holds the records that are filtered in the WinForms GridGroupingControl.
The Filtered rows can be obtained from FilteredRecords collection
in RecordsFilters.Changed event.
C#
void RecordFilters_Changed(object sender, Syncfusion.Collections.ListPropertyChangedEventArgs e)
{
int FilteredRecords = this.gridGroupingControl1.Table.FilteredRecords.Count;
}VB
Private Sub RecordFilters_Changed(ByVal sender As Object, ByVal e As Syncfusion.Collections.ListPropertyChangedEventArgs)
Dim FilteredRecords = Me.gridGroupingControl1.Table.FilteredRecords.Count
End Sub Samples:
Reference Link: Filtering