public GridEXColumn AddColumn(string colName, ColumnType colType, int width, ColumnBoundMode boundMode, string caption, FilterEditType editType, TextAlignment align) { if (this.RootTable == null) { this.RootTable = new GridEXTable(); } GridEXColumn col = this.RootTable.Columns.Add(colName, colType); col.Width = width; col.BoundMode = boundMode; col.DataMember = colName; col.Caption = caption; col.FilterEditType = editType; col.TextAlignment = align; return(col); }
public GridEXColumn AddColumn(string colName, ColumnType colType, int width, ColumnBoundMode boundMode, string caption, FilterEditType editType) { return(AddColumn(colName, colType, width, boundMode, caption, editType, TextAlignment.Near)); }