header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
venkat
Points:0
Posts:0

10/27/2010 8:01:58 AM

Title: Datagrid footer row


Hi Everybody,

I have a datagrid, in datagrid having marks1, marks2 fields. How to add sum for two individual columns.

With Regards,
K.V.Ramakrishna.



1
Flash_Guy
Points: 850
Posts:0
10/27/2010 9:10:50 AM



run the loop to add the marks1 on dataprovider

var totalMarks:Number=0;
for(i=0;i<myDataprovider.length;i++){
totalMarks=totalMarks+myDataprovider[i].marks1
}
similarly you can do for marks 2 also


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 0+5 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions