Operations with previous rows

QuestionsOperations with previous rows
Rene Partida asked 6 years ago

Hi Abu.
I need to do the following. If you can visualize the image in this link: http://www.stjecoamerica.org/ExampleGrid.png
You will see that I have 3 columns. It is a grid of a bank account statement. money that in and out from the bank account. I need to put a first line with the initial balance. and then each row with the values that must add or subtract the balance of the previous line and show it in the balance column. Could you guide me on how I can achieve this?

1 Answers
Abu Ghufran Staff answered 6 years ago

Hello,

This ticket somehow get missed in reply. Apologies for that.

This kind of calculation is doable when you load grid with php array. All such calculation need to be done in preparing array and then pass that array to grid.

Ofcourse the calculated will not be editable. I don’t have any demo ready yet, but if this requirement still exist, let me know.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

11 + 7 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?