grid.Splits[0].DisplayColumns[e.ColIndex].DataColumn.ValueItems.Presentation = C1.Win.C1TrueDBGrid.PresentationEnum.ComboBox;} } //编辑后触发的事件 private void grid_AfterColEdit(object sender, C1.Win.C1TrueDBGrid.ColEventArgs e){ grid.Splits[0].DisplayColumns["设备类型"].DataCo...
this.c1TrueDBGrid1.Splits[0].DisplayColumns["fieldName"].Visible = false; (2) //c1TrueDBGrid 获得目前行数 int rows = this.c1TrueDBGrid2.Splits[0].Rows.Count; (3)//c1TrueDBGrid 合计的做法 .写在load事件里的代码 int rows = this.c1TrueDBGrid1.Splits[0].Rows.Count; int sum1 = 0...
python的标准输入,输出,错误输出。
C1.Win.C1TrueDBGrid.RowTypeEnum rtype = this.c1TrueDBGrid1.Splits[0].Rows[this.c1TrueDBGrid1.Row].RowType; switch (rtype) { case C1.Win.C1TrueDBGrid.RowTypeEnum.CollapsedGroupRow: this.radioButton2.Checked = true; break; case C1.Win.C1TrueDBGrid.RowTypeEnum.ExpandedGroupRow: this.rad...
TDBGrid1.Splits(0).Caption = "Split 0 Caption" 因为Grid的水平卷动一直会到最右边的列完全显示出来后才停,通常在最后一列与Grid的右边界会有一块空白区域。你可以除去最右边的空白区域,用ExtendRightColumn属性。该属性的缺省值是False,但是如果你设为True,那么最后一列就会扩展宽度到Grid的右边。 未使用数据...
private void grid_AfterColEdit(object sender, C1.Win.C1TrueDBGrid.ColEventArgs e){grid.Splits[0].DisplayColumns["设备类型"].DataColumn.ValueItems.Presentation = C1.Win.C1TrueDBGrid.PresentationEnum.Normal;}//编辑完后更新数据前触发的事件 private void grid_BeforeColUpdate(object sender...
grid.Splits[0].DisplayColumns[e.ColIndex].DataColumn.ValueItems.Presentation = C1.Win.C1TrueDBGrid.PresentationEnum.ComboBox;} } //编辑后触发的事件 private void grid_AfterColEdit(object sender, C1.Win.C1TrueDBGrid.ColEventArgs e){ grid.Splits[0].DisplayColumns["设备类型"]....