PivotGridControl.PostEditor(AsyncCompletedHandler) Method

Posts the value being edited to the associated data source in the asynchronous mode without closing the editor.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.1.dll

Declaration

public bool PostEditor(
    AsyncCompletedHandler handler
)
Public Function PostEditor(
    handler As AsyncCompletedHandler
) As Boolean

Parameters

Name Type Description
handler AsyncCompletedHandler

A AsyncCompletedHandler delegate referencing a method that should be executed after the operation is completed.

Returns

Type Description
Boolean

true, if the value being edited has been successfully validated and saved to the associated data source; otherwise, false.

Remarks

The Boolean method fires the PivotGridControl.ValidatingEditor event. If the edited value is valid, the PivotGridControl.EditValueChanged event is raised. You should handle this event to post the changes to the data source.

See Also