Skip to main content

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

public bool EnableImmediatePosting { get; set; }

Property Value

Type Default Description
Boolean False

true to post a cell value to a data source immediately after a user changes this value; otherwise, 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.

View Example: Immediately Post New Cell Values

Note

The immediate posting functionality is not supported in the following scenarios:

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.

See Also