public DataGridColumn Add(string property, string caption, ICellVirtual cell) { SourceGrid.DataGridColumn col = new DataGridColumn(Grid, new SourceGrid.Cells.DataGrid.ColumnHeader(caption), cell, property); Insert(Count, col); return col; }
public void Insert(int index, DataGridColumn dataGridColumn) { base.InsertRange(index, new SourceGrid.ColumnInfo[] { dataGridColumn }); }