I am new to the WPF RadGridView and have a simple question. I need to implement a search which looks at all columns of all rows in a bound, virtualized, WPF RadDataGrid. After discovering that the "ChildrenOfType<GridViewRow>()" function only returns a list of visible rows, I searched this forum for an appropriate technique.
I say one technique involving the RadGridView's "Records" property. The current RadGridView does not have a "Records" property.
I also saw a couple of hits recommending searching the underlying bound data source instead of searching the actual grid rows. That's easy enough.
But once I find the desired row in the underlying bound data (in this case an ObservableCollection<T>), how do I determine the matching grid row - and move it into the visible set on the user's screen - in a way that still works if the grid is sorted in a different order from the underlying bound data source?
Thanks!
-Bob
I say one technique involving the RadGridView's "Records" property. The current RadGridView does not have a "Records" property.
I also saw a couple of hits recommending searching the underlying bound data source instead of searching the actual grid rows. That's easy enough.
But once I find the desired row in the underlying bound data (in this case an ObservableCollection<T>), how do I determine the matching grid row - and move it into the visible set on the user's screen - in a way that still works if the grid is sorted in a different order from the underlying bound data source?
Thanks!
-Bob