Expand my Community achievements bar.

SOLVED

How to calculate cells dynamically created?

Avatar

Former Community Member

Hi

please can someone provide us a simple code to calculate cells dynamically created using add row button?

thanks anyway

Header
1Amount[1]
2Amount[2]
FooterTotal
1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi,

Write this script on the Calculate event of TotalAmount field (using FormCalc):

$.rawValue = Sum(parentRowName[*].Amount.rawValue);

Hope this will help you.

Thanks.

-

Abhinav

View solution in original post

2 Replies

Avatar

Correct answer by
Level 4

Hi,

Write this script on the Calculate event of TotalAmount field (using FormCalc):

$.rawValue = Sum(parentRowName[*].Amount.rawValue);

Hope this will help you.

Thanks.

-

Abhinav

Avatar

Former Community Member

Thanks a lot Abhinav Sharma


actually this is the best answer the one could have


thank you again, you saved my life