SfDataGrid.View.Records contains the records in the View, which displays the records visible to the user. To get the filtered records, you have to access the SfDataGrid.View.Records when the filter is applied. The FilterChanged event occurs whenever the filter is changed. Thus, by using this event, you can access the filtered records in SfDataGrid. The following code example demonstrates how to get the filtered records by the FilterChanged event. C#
The records in SfDataGrid.View.Records are of type RecordEntry that contain the underlying data. Thus by taking the recordentry.Data, you can get the filtered records in the underlying type. |
This page will automatically be redirected to the sign-in page in 10 seconds.