private void XBRL_UserControl_Load(object sender, EventArgs e) { UltraGrid_helper.SetDataSource(this.main_ultraGrid, this.sf_master.sourceDT); this.formFilter = new FilterForm(this.sf_master.sourceDT); this.RefreshData(null); this.main_ultraGrid.DisplayLayout.Bands[0].Columns[UltraGrid_helper.ActionColumnName].ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always; UltraGrid_helper.SetMaxWidth(this.main_ultraGrid, 220); }
public DailyJobs_form() { this.InitializeComponent(); this.sourceDT = this.Get_dailyJobs_dt(); UltraGrid_helper.SetDataSource(this.main_ultraGrid, this.sourceDT); UltraGrid_helper.InitGrid(this.main_ultraGrid); this.main_ultraGrid.DisplayLayout.Bands[0].Columns["ID"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Button; this.main_ultraGrid.DisplayLayout.Bands[0].Columns["ID"].ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always; }
public MainForm() { this.InitializeComponent(); UltraGrid_helper.SetDataSource(this.main_ultraGrid, this.tsk_vc.sourceDT); UltraGrid_helper.InitGrid(this.main_ultraGrid, false, false); UltraGrid_helper.Set_readOnly_columns(this.main_ultraGrid, false, 0); UltraGrid_helper.SetMaxWidth(this.main_ultraGrid, 250); this.main_ultraGrid.DisplayLayout.Bands[0].Columns["TaskDetailID"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Button; this.main_ultraGrid.DisplayLayout.Bands[0].Columns["TaskDetailID"].ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always; this.main_ultraGrid.DisplayLayout.Bands[0].SortedColumns.Add("TaskDetailID", false); }