DataViewBase.EnableImmediatePosting Property
Gets or sets whether to post a cell value to a data source immediately after a user changes this value. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v25.1.Core.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Boolean | False |
|
#Remarks
If you enable the DataViewBase.EnableImmediatePosting
property, the cell value is posted to a data source immediately after a user changes this value. Otherwise, the value is posted after a user moves focus from the edited cell.
Note
The immediate posting functionality is not supported in the following scenarios:
- The Grid
Control uses the CellEdit .Template - The Grid
Control uses the CellTemplate with a direct EditValue binding in the inner editor.
To enable immediate posting for an individual column, set the BaseColumn.EnableImmediatePosting property to true
for this column. If you set the BaseColumn.EnableImmediatePosting property to null
, the column applies the DataViewBase.EnableImmediatePosting
property’s value.
You can also 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.