private void InitializeWeeklyDataTable() { _weeksPanel = uiWeeklyData_superGridControlTable.PrimaryGrid; _weeksPanel.Name = "Week"; _weeksPanel.ShowCheckBox = false; _weeksPanel.ShowTreeButtons = true; _weeksPanel.ShowTreeLines = true; _weeksPanel.AutoGenerateColumns = true; _weeksPanel.DataMember = "tableWeek"; _weeksPanel.IsParentOf(_daysPanel); _daysPanel = new GridPanel { DataMember = "tableDays", ShowTreeButtons = true, ShowTreeLines = true, AutoGenerateColumns = true }; _daysPanel.IsParentOf(_tradesPanel); _daysPanel.RowHeaderWidth = 0; _tradesPanel = new GridPanel { DataMember = "tableTrades", ShowCheckBox = false, ShowTreeButtons = true, ShowTreeLines = true, AutoGenerateColumns = true }; uiWeeklyData_superGridControlTable.GetCellStyle += WeeklyDataTableCellStyle; }