ColumnView.RefreshEditor(Boolean) Method
Refreshes the active editor.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
update |
Boolean | true if the editor should update the value it displays; otherwise, false. |
#Remarks
There may be situations when a View’s data source is modified externally. For instance, this may take place if there are several users working with the same database. In this case, modifying data source values will not automatically update the value displayed by the active editor. To synchronize the active editor’s value with the data source, call the RefreshEditor method with its parameter set to true. If the parameter is false, the RefreshEditor method only updates the editor’s appearance with respect to the editor’s style settings and error information. The editor’s value is not reread from the data source in this case.
If there is no active editor, the RefreshEditor method performs no actions.
Note
Detail pattern Views do not contain data and they are never displayed within Xtra
- Grid
Control. - returns the top most View in a grid;Main View - Grid
Control. - returns the focused View;Focused View - Grid
Control. - returns the currently maximized View;Default View - the sender parameter of View specific events;
- Grid
View. - returns a detail clone View for a specific master row.Get Detail View