I have a collection in a XamDataGrid. I have a few conditios to filter the collection from the UI. If the ActiveRecord is not in the new filtered collection, it remains as active. I want to select the first record of the filtered collection, the collection that is shown.
It seems that I need to do something like this.myXamDataGrid.ActiveRecord = ????
How can I select the first record shown in the grid after a filtering?
Thanks in advance.
Hello,
In order to get the currently visible records, you can call the GetRecordsInView() method of the XamDataGrid. You can do this in the RecordFilterChanged event.