Delphi - cxGrid Add Footer display

cxGrid - Add footer display

 

1: Add Footer Items

Click cxGrid Customize ..., Summary, Add; 

2: Adding Data Binding Footer items

Select a Footer items need to operate, click F11, bring up the Properties box, according to Column column down the options you need to choose the bound column.

If the selected database table column is bound / attempt related field, after checked FiledName corresponding Value will pop up. 

 

3: Configuration Footer Format / Kind

 According to the actual situation, with use Kind.

Note: Format later 0 / 0.0 / 0.00 can be used to control the digit of the decimal point

 

Guess you like

Origin www.cnblogs.com/jeremywucnblog/p/11422041.html