I have been trying to use a VirtualQueryableCollectionView with a RadGridView but no matter what I do, the grid view is always empty.
// Person is an entity.
public class Person
{
public string Name { get; set; }
public string Dept { get; set; }
public double Salary { get; set; }
}
public VirtualQueryableCollectionView PeopleView { get; set; }
// dbContext is an OData DataServiceContext. peopleQuery has a Count() of 1000 items.
IQueryable<Person> peopleQuery = dbContext.Person.OrderBy(x => x.Name);
PeopleView = new VirtualQueryableCollectionView(peopleQuery) { LoadSize = 50 };
OnPropertyChanged(nameof(PeopleView));
<telerik:RadGridView AutoGenerateColumns="True"
ItemsSource="{Binding PeopleView}" />