Got a grid with some numeric columns and it's need to implement for each column an aggregate (sum or count) and display it under the corresponding column.
I know that some suites (DevExpress or other) had already implemented "by default". But there is a way to implement that using default controls or JVCL?
Since you have mentioned JEDI VCL
, try to take a look at the TJvDBGridFooter
component. It is the status bar for the TJvDBGrid
control.
OnDisplayText
eventOnCalculate
eventCheck the demo projects from JVCL's ..\examples\JvUltimDBGrid
folder to see it in action.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With