datagrid Column grand total

Josep jmyepes at mac.com
Tue May 5 13:58:08 EDT 2009


Thanks. 

Salut,
Josep M


Trevor DeVore wrote:
> 
> On May 5, 2009, at 3:36 AM, Josep wrote:
> 
>> Yes, I can with this way or I can record any change in "on FillIn" and
>> update a t_GrandTotal... go to try it... I think that with this way  
>> the
>> operation will be automatic...
> 
> Andre's example will work great. This is a common question so I also  
> created a lesson that shows how to create a custom property for your  
> data grid that returns aggregate values. The example uses the dgData  
> property which will be faster than using the dgText property.
> 
> <http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid/lessons/4170-How-Do-I-Get-Aggregate-Values-for-Columns- 
>  >
> 
> You should note that adding values in "FillInData" won't provide  
> accurate information since FillInData is called multiple times for  
> each row as you scroll through the data in the data grid.
> 
> Regards,
> 
> -- 
> Trevor DeVore
> Blue Mango Learning Systems
> ScreenSteps: http://www.screensteps.com
> Developer Resources: http://revolution.bluemangolearning.com
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

-- 
View this message in context: http://www.nabble.com/datagrid-Column-grand-total-tp23378836p23392726.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list