/// <summary> /// CreateColumnConfig /// </summary> /// <param name="c"></param> /// <returns></returns> protected ColumnConfig CreateColumnConfig(GridBand c) { var tc = new ColumnConfig(); tc.CopyValueFrom(c); tc.Visible = true; return(tc); }
/// <summary> /// CreateColumnConfig /// </summary> /// <param name="c"></param> /// <returns></returns> protected ColumnConfig CreateColumnConfig(GridColumn c) { var cc = new ColumnConfig(); cc.CopyValueFrom(c); cc.DisplayFormat = c.DisplayFormat; cc.SummaryItem = c.SummaryItem; cc.AppearanceCell = c.AppearanceCell; if (cc.GroupIndex >= 0) { cc.Visible = true; } return(cc); }