Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 27 Apr 2024, 11:45

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 18 Aug 2014, 17:39 
Offline

Joined: 10 Mar 2014, 15:42
Posts: 14
Hi,

Is there any possibility to summing up in a column footer values coming in an another column?
To explain it a bit further:
I have a list with data to validate.
I have 2 columns, one containing a money value, the second a checkbox.
If the user checks the checkbox, I would like to sum in the checkbox column footer with the amounts corresponding to the checked column, something like this:

Header1 Header 2
10 _
10 X
10 X
10 _
_______________________(Footer coming here)
40 20

Is this possible?
Or eventually having 2 footer lines, one containing the filtered sum (those have been checked in the second column) and one with a regular sum (as working out of the box)?


Top
 Profile  
 
PostPosted: 22 Aug 2014, 06:43 
Offline

Joined: 08 May 2014, 18:06
Posts: 663
Hello

Yes, it is possible.
You need to create Calculated field to summarise.
See the attached Demo.


Attachments:
Column footer with conditions.rar [2.25 KiB]
Downloaded 832 times

_________________
Best regards
EhLib Support Team
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 43 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group