How to Access Sorted and Filtered Items Within RadGridView

The RadGridView exposes an Items property which represents a collection of the items after filtering, sorting and grouping operations have been applied upon the RadGridView`s ItemsSource.

Lets assume we have a RadGridView which ItemsSource is an ObservableCollection of Club objects. The collection consists of 4 objects and the control has the following appearance:

Figure1: The original appearance of the RadGridView

Default RadGridView

Eventually, we would like to filter and sort the RadGridView:

Figure2: The appearance of the RadGridView after applying the data operations

Filtered and Sorted RadGridView

You can access the newly created view through the Items property as the ItemsSource will remain unchanged.

The Items collection will be sorted according to the applied changes. Grouping the RadGridView might also result in reordering the collection.

See Also

In this article
Not finding the help you need? Improve this article