Articles in this section

How to get the filtered records from WinForms GridGroupingControl?

Filtered records


In order to get the filtered records from the
WinForms GridGroupingControl, the 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
 The screenshot below illustrates the Filtered Record count in the GridGroupingControl.

Show the filtered records count


Reference Link: 
Getting filtered records


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