所属分类:
其他
开发工具:Visual Basic
文件大小:9KB
下载次数:2
上传日期:2017-07-28 16:51:21
说明: DevExpress.XtraGrid 是一个很强大的表格显示组件,但如果表格的每一列用设计器来设计还是很花时间的,也不通用。但如果使用了这个类,做一个表格就非常简单了,只需传字段、显示的名称、宽度,即可自动生成表格出来。
'参数说明:1:字段名称 2:显示名称 3:宽度 (字符数*8) 4:字段类型 5:是否要分组排序 6:是否为只读 7:是否要汇总计算 8:是否要为粗体,9:是否要固定置左
(DevExpress.XtraGrid is a powerful form display component, but it's time - consuming and generic for each column of the table to be designed with a designer. But if you use this class, it's very simple to make a table. You can automatically generate the table by simply passing the field, the name of the display, and the width.
'Parameter Description: 1: field name, 2: display name, 3: width (character number *8), 4: field type 5:, whether to group sort, 6: is read-only, 7: to aggregate, calculate whether 8: is bold, and 9: whether to hold left)