Skip to main content

RepositoryItemGridLookUpEditBase.PopulateViewColumns() Method

Creates columns for all fields in the bound data source.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid

Declaration

public virtual void PopulateViewColumns()

Remarks

Columns are created in the ColumnView.Columns collection, accessible via the RepositoryItemGridLookUpEditBase.PopupView object.

If this collection already contains columns or the data source (RepositoryItemLookUpEditBase.DataSource) is not set, the PopulateViewColumns method does nothing.

See Also