Virtual Source Limitations
The Sorting feature is disabled by default.
To enable sorting:
- Fetch rows taking into account the GridControl's sorting using the DevExpress.Data.FetchEventArgsBase.SortOrder property.
- Set the ColumnBase.AllowSorting property to true to allow sorting by specific column (the DataControlBase.AllowSorting property is ignored). Refer to the Enable Sorting topic to learn more.
The Filtering feature is disabled by default.
To enable filtering, fetch rows taking into account the GridControl's filtering using the DevExpress.Data.FetchEventArgsBase.Filter property.
The Total Summary feature is disabled by default.
To show summaries:
- Handle the InfiniteAsyncSource.GetTotalSummaries event to get total summaries.
- Specify the total summaries that the GridControl should display using the GridControl.TotalSummary property. Refer to the Display Summaries topic to learn more.
You can create and edit unbound columns, but cannot use them to apply data shaping operations (sorting, grouping, summaries).
If you have to calculate values on server by several columns, specify custom PropertyDescriptors using the VirtualSourceBase.CustomProperties property.
The DataControlBase.SelectAll method is ignored.