怎么去掉c1.win.c1GanttView 4.5.2里日期前的CheckBox
目前不勾选,就会默认当前日期,怎么去掉这个checkbox
目前没有接口可以设置去除此复选框 简单,把它换.NET自带的了就行了。
private TextBox textBox = new TextBox();
private DateTimePicker dateTimePicker = new DateTimePicker();
private void c1FlexGrid1_StartEdit(object sender, C1.Win.C1FlexGrid.RowColEventArgs e)
{
switch (e.Col)
{
case 1:
c1FlexGrid1.Editor = dateTimePicker;
break;
default:
c1FlexGrid1.Editor = textBox;
break;
}
}
:hjyzw: 感谢分享
补充一下关于左侧的grid获取
C1FlexGrid grid = c1GanttView1.Controls as C1FlexGrid;
页:
[1]