delphi 动态设置和访问cxgrid列的Properties
设置:
cxGrid1DBTableView1Column.PropertiesClass = TcxTextEditProperties;
cxGrid1DBTableView1Column.PropertiesClass = TcxDateEditProperties;
cxGrid1DBTableView1Column.PropertiesClass = TcxCalcEditProperties;
cxGrid1DBTableView1Column.PropertiesClass = TcxCheckboxProperties;
等
访问:
cxGrid1DBTableView1Column.Properties as TcxTextEditProperties
cxGrid1DBTableView1Column.Properties as TcxDateEditProperties;
cxGrid1DBTableView1Column.Properties as TcxCalcEditProperties;