EhLib.Com
https://forum.ehlib.com/en/

how to retrieve value from the footer in the grid
https://forum.ehlib.com/en/viewtopic.php?f=5&t=1054
Page 1 of 1

Author:  sopoiku [ 07 Aug 2020, 04:05 ]
Post subject:  how to retrieve value from the footer in the grid

is it possible to retrieve value from the footer in the grid???
footer.valutype := fvtSum
thank you

Author:  danieldavila [ 07 Aug 2020, 16:51 ]
Post subject:  Re: how to retrieve value from the footer in the grid

It is possible by browsing the column footer lists, like this:

Columns footers:
Code:

for j := 0 to DBGridEh1.Columns[1].footers.Count - 1 do begin

showmessage(DBGridEh1.Columns[1].footers[j].value);

end;

Author:  sopoiku [ 08 Aug 2020, 00:59 ]
Post subject:  Re: how to retrieve value from the footer in the grid

danieldavila wrote:
It is possible by browsing the column footer lists, like this:

Columns footers:
Code:

for j := 0 to DBGridEh1.Columns[1].footers.Count - 1 do begin

showmessage(DBGridEh1.Columns[1].footers[j].value);

end;



thanks for your reply, i will try it

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/