Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » DoSum(), DoAvg(), etc... and search operations
Re: DoSum(), DoAvg(), etc... and search operations [message #23390 is a reply to message #23388] |
Thu, 15 October 2009 23:15  |
jeremy_c
Messages: 175 Registered: August 2007 Location: Ohio, USA
|
Experienced Member |
|
|
Also, on the DoMin() and DoMax() type functions, can this be added to GridCtrl.cpp around line 4627 (SyncSummary function)? It allows the DoMin() and DoMax() summary options to work on Dates.
else if (IsDateTime(v))
{
switch(sop)
{
case SOP_MIN:
if (((Date) v) < ((Date) t))
t = v;
break;
case SOP_MAX:
if (((Date) v) > ((Date) t))
t = v;
break;
case SOP_SUM:
case SOP_AVG:
t = v;
break;
}
}
Jeremy
[Updated on: Thu, 15 October 2009 23:17] Report message to a moderator
|
|
|
 |
|
DoSum(), DoAvg(), etc... and search operations
By: jeremy_c on Thu, 15 October 2009 17:13
|
 |
|
Re: DoSum(), DoAvg(), etc... and search operations
By: unodgs on Thu, 15 October 2009 22:45
|
 |
|
Re: DoSum(), DoAvg(), etc... and search operations
By: jeremy_c on Thu, 15 October 2009 22:58
|
 |
|
Re: DoSum(), DoAvg(), etc... and search operations
By: jeremy_c on Thu, 15 October 2009 23:15
|
Goto Forum:
Current Time: Sat Jul 05 10:48:45 CEST 2025
Total time taken to generate the page: 0.03747 seconds
|