dxDBGrid怎样用代码动态增加列(0分)

  • 主题发起人 china_peng
  • 开始时间
C

china_peng

Unregistered / Unconfirmed
GUEST, unregistred user!
dxDBGrid怎样用代码动态增加列,
希望大虾贴一DEMO!
¥100.00
答案可用立即给分!
 
先加入Band ,然后加字段。具体的代码也很简单,你自己看着办吧
 
搞定了
with dxDBGrid1.CreateColumn(TdxDBGridButtonColumn) as TdxDBGridButtonColumn do
begin
FieldName := 'NAME';
end;
 

Similar threads

D
回复
0
查看
2K
DelphiTeacher的专栏
D
D
回复
0
查看
1K
DelphiTeacher的专栏
D
D
回复
0
查看
895
DelphiTeacher的专栏
D
S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
顶部