XPObjectSpaceProvider.InstantFeedbackMappingMode Property
Specifies what properties should be mapped on a grid in InstantFeedback or InstantFeedbackView mode for all Object Spaces.
Namespace: DevExpress.ExpressApp.Xpo
Assembly: DevExpress.ExpressApp.Xpo.v25.2.dll
NuGet Package: DevExpress.ExpressApp.Xpo
Declaration
Property Value
| Type | Description |
|---|---|
| XPInstantFeedbackSourceMappingMode | A properties mapping mode in InstantFeedback or InstantFeedbackView mode. |
Remarks
In InstantFeedback and InstantFeedbackView modes, all property values are calculated at once regardless of grid columns settings. To calculate values only for visible columns, set the InstantFeedbackMappingMode property to RequiredProperties as follows:
builder.ObjectSpaceProviders
.AddSecuredXpo((serviceProvider, options) => {
options.ConfigureObjectSpaceProvider = (objectSpaceProvider, serviceProvider) => {
objectSpaceProvider.InstantFeedbackMappingMode = XPInstantFeedbackSourceMappingMode.RequiredProperties;
};
// ...
To map other columns that do not appear in the grid, add them to the collection of displayed options. See the CollectionSourceBase.DisplayableProperties topic for details.
To define which properties the grid should map for a specific View, use the XPObjectSpace.InstantFeedbackMappingMode property in the target Object Space.