ColumnView.PopulateColumns Method

Name Parameters Description
PopulateColumns() none Creates columns for all fields in the bound data source.
PopulateColumns(DataColumnInfo[]) columns Creates columns for the specified DataColumnInfo objects.
PopulateColumns(DataTable) dataTable Creates columns for all the fields of the specified DataTable.
PopulateColumns(Object) list Creates columns for record fields in the specified data source (System.Data.DataTable, System.ComponentModel.ITypedList, System.Collections.IList, System.Collections.Generic.IList, DevExpress.XtraGrid.IXtraList, etc. ).
PopulateColumns(Type, PopulateColumnsParameters) elementType, populateColumnsParameters Generates columns for the custom code-first data source.