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

Custom colums for GetGridAggrInfo
https://forum.ehlib.com/en/viewtopic.php?f=5&t=874
Page 1 of 1

Author:  cfabio [ 30 Nov 2018, 09:50 ]
Post subject:  Custom colums for GetGridAggrInfo

Hi, it's possible to use a custom column where to apply the aggregation function?
For example, in my case use the function only for the column with yellow background and get this result:
Sum: 0 - Count: 2 - Average: 0 - Min:0 - Max:0
Attachment:
Snap19.jpg
Snap19.jpg [ 183.55 KiB | Viewed 802 times ]

Many thanks for help.

Author:  EhLibSupport [ 13 Dec 2018, 00:56 ]
Post subject:  Re: Custom colums for GetGridAggrInfo

Hello

Unfortunately, there are no properties or events in the grid that could affect the algorithm for calculating the aggregated values that are displayed in the horizontal scrollbar section.
The only possibility that I see is a change in the source code in the method
procedure TDBGridEhNavigatorPanel.GetGridAggrInfo (var ResultArr: TAggrResultArr);

Author:  cfabio [ 17 Jan 2019, 15:33 ]
Post subject:  Re: Custom colums for GetGridAggrInfo

Many thanks for your reply. May be in the future develop can you planning something? Have a nice day.

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