Skip to main content
A newer version of this page is available. .

Large Data Sources: Server and Instant Feedback Modes

  • 4 minutes to read

Documentation

Demos

Examples

What are Server Modes?

In regular data binding modes, a Data Grid loads an entire data set at once, which, in cases of large data volumes, significantly slows down application startup and consumes a considerable amount of memory. The overall Data Grid performance depends on a customer’s rig, and data shaping operations (sorting, grouping or filtering) may cause a bottleneck.

LargeDataSources_DefaulModeMemoryResult

Server modes address this issue by loading data in small portions on demand and carrying out all data shaping operations server side.

LargeDataSources_ServerModeMemoryResult

The “server modes” term includes two separate modes:

  • a regular (synchronous) server mode locks the GUI and does not respond to end-users’ actions when data is retrieved;
  • an Instant Feedback mode (asynchronous server mode) loads data in a background thread, so that the GUI remains responsive in the process. This mode is not supported in the GridLookUpEdit control.

Feature Limitations

In server modes, grid controls (GridControl, GridLookUpEdit, and SearchLookUpEdit) do not have simultaneous access to bound data in its entirety. This imposes certain limitations on the grid’s features that are still available in a regular binding mode. Please see the list below for information on features that are not supported/not recommended in server mode.

Server Mode Data Sources

To enable a specific server mode for your data-aware control, you need to use an appropriate data source. You can use data sources provided by the eXpress Persistent Objects (XPO) library, or use dedicated data sources tailored to work with ‘LINQ to SQL Classes’. Thus, choose one of the following data sources for your control.

Data Access Technology Server Mode Data Source Instant Feedback UI Data Source
Entity Framework 4+ EntityServerModeSource EntityInstantFeedbackSource
eXpress Persistent Objects XPServerCollectionSource XPInstantFeedbackSource
LINQ to SQL LinqServerModeSource LinqInstantFeedbackSource
Parallel LINQ to Objects PLinqServerModeSource PLinqInstantFeedbackSource
WCF Data Services WcfServerModeSource WcfInstantFeedbackSource
OData v4 ODataServerModeSource ODataInstantFeedbackSource