Posted 17 March 2020, 3:25 am EST
Hi David,
If you want to achieve your desired output then in spite of setting the font property at grid level, you can set it at column level for those columns where you want it to be applied. This will keep the checkbox in the Boolean column as normal size.
```
private void Form1_Load(object sender, EventArgs e)
{
c1FlexGrid1.Rows.Count = 6;
c1FlexGrid1.Cols[1].Caption = c1FlexGrid1.Cols[1].Name = “CheckBox”;
c1FlexGrid1.Cols[2].Caption = c1FlexGrid1.Cols[2].Name = “Text”;
c1FlexGrid1.Cols[1].DataType = typeof(Boolean);
c1FlexGrid1.SetCellCheck(1, 1, C1.Win.C1FlexGrid.CheckEnum.Grayed);
c1FlexGrid1.SetCellCheck(2, 1, C1.Win.C1FlexGrid.CheckEnum.Grayed);
c1FlexGrid1.SetCellCheck(3, 1, C1.Win.C1FlexGrid.CheckEnum.Grayed);
c1FlexGrid1.SetCellCheck(4, 1, C1.Win.C1FlexGrid.CheckEnum.Grayed);
CellStyle cs = c1FlexGrid1.Styles.Add(“X”);
cs.Font = new Font(“”, 14, FontStyle.Bold);
c1FlexGrid1.Cols[2].Style = cs;
c1FlexGrid1[1, 2] = “Demo wcr”;
c1FlexGrid1[2, 2] = “Demo xys”;
c1FlexGrid1[3, 2] = “Demo bcx”;
c1FlexGrid1[4, 2] = “Demo jkh”;
c1FlexGrid1.AutoSizeRows();
c1FlexGrid1.AutoSizeCols();
}
Regards,
Prabhat Sharma.