DataViewBase.EnableImmediatePosting Property
Gets or sets whether to post values to a data source immediately after changing a cell value. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.1.Core.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true to post values to a data source immediately after changing a cell value; otherwise, false. |
Remarks
If the EnableImmediatePosting property is set to true, the value is posted to a data source as it is being changed by an end user. Otherwise, the value is posted after moving focus from the edited cell.
The immediate posting functionality is not supported in the following scenarios:
- The Data Grid uses the CellEditTemplate.
- The Data Grid uses the CellTemplate with a direct EditValue binding in the inner editor.
If you need to enable immediate posting for specific columns, handle the GridViewBase.CellValueChanging event and call the PostEditor method to post an editor value manually.
Refer to the following help topic for more information: Immediate Posting.