flexcell 字段设置格式为数字类型,设置颜色
设置字段为数字类型 cells.Column(7).Mask = FlexCell.MaskEnum.Numeric;
单元格背景色 cellExport.Range(rowindex, 0, rowindex, 23).BackColor = Color.Red;
有删除行三种方法:
Grid1.RemoveItem(Row)
Grid1.Range(Row1, Col1, Row2, Col2).DeleteByRow()
Grid1.Selection.DeleteByRow()
//合并单元格
gridReport.Range(1, 0, DsCarConfig.CS_PRODUCTKIND.Rows.Count, 0).Merge();
gridReport.Row(1).Height = 100;行高
gridReport.Column(1).Width = 100;列宽