PivotChartOptions.DataAccessMode Property
Specifies the mode used to access the Collection Source’s collection.
Namespace: DevExpress.ExpressApp.PivotChart.Win
Assembly: DevExpress.ExpressApp.PivotChart.Win.v24.2.dll
NuGet Package: DevExpress.ExpressApp.PivotChart.Win
#Declaration
public CollectionSourceDataAccessMode DataAccessMode { get; set; }
#Property Value
Type | Description |
---|---|
Collection |
A Collection |
Available values:
Name | Description |
---|---|
Client | The entire record set required for the current List View is loaded into memory. All the data processing takes place on the client side. |
Server | Data is requested from a data store in small portions that should currently be displayed. All data-aware operations are performed on the data server side. |
Data |
A lightweight read-only list of data records ( |
Instant |
A List View’s control continues responding to a user’s actions while the data is being retrieved in a background thread (see Instant Feedback Mode). |
Instant |
A lightweight read-only list of data records (Object |
Server |
A lightweight read-only list of data records (Object |
Queryable | The collection source constructs a query that the List Editor can modify to load only objects visible in the control. Only |
#Remarks
For more information, refer to the following Module property description: DataAccessMode.
The following example demonstrates how to specify this property:
File: MySolution.Win\Startup.cs.
using DevExpress.ExpressApp.ApplicationBuilder;
using DevExpress.ExpressApp.Win.ApplicationBuilder;
// ...
public class ApplicationBuilder : IDesignTimeApplicationFactory {
public static WinApplication BuildApplication(string connectionString) {
var builder = WinApplication.CreateBuilder();
builder.UseApplication<MySolutionWindowsFormsApplication>();
builder.Modules
// ...
.AddPivotChart(options => {
options.DataAccessMode = CollectionSourceDataAccessMode.Client;
})
// ...
}
// ...
}