打开后垂直滚动条在最下面,当前航默认在最后一笔,第一行上有旗帜显示异常
相关代码如下:
this.dgView.DataSource=dt;
this.dgView.Columns["图标"].ValueItems.Translate = true;
this.dgView.Columns["图标"].ValueItems.Values.Add(new C1.Win.C1TrueDBGrid.ValueItem("1", this.imageList1.Images["flag_black.png"]));
this.dgView.Columns["图标"].ValueItems.Values.Add(new C1.Win.C1TrueDBGrid.ValueItem("2", this.imageList1.Images["flag_blue.png"]));
this.dgView.Columns["图标"].ValueItems.Values.Add(new C1.Win.C1TrueDBGrid.ValueItem("3", this.imageList1.Images["flag_green.png"]));
this.dgView.Columns["图标"].ValueItems.Values.Add(new C1.Win.C1TrueDBGrid.ValueItem("4", this.imageList1.Images["flag_red.png"])); |