Articles in this section
Category / Section

How to get the filtered records from WinForms GridGroupingControl?

1 min read

Filtered records

In order to get the filtered records from the grid, FilteredRecords property can be used.

C#

private void button1_Click(object sender, EventArgs e)
{
     //Getting the Filter records.
     FilteredRecordsInTableCollection filteredRecords = this.gridGroupingControl1.Table.FilteredRecords;
}

 

VB

Private Sub button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles button1.Click
   'Getting the Filter records.
   Dim filteredRecords As FilteredRecordsInTableCollection = Me.gridGroupingControl1.Table.FilteredRecords
End Sub

 

Screenshot

Show the filtered records count

Reference link: https://help.syncfusion.com/windowsforms/classic/gridgroupingcontrol/filtering#getting-filtered-records

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied