It would be realy helpfull to have an option in the grid to show summaries as a last line. As it is absolutelly required in my app I built the following function:
This function is called by an action each time the corresponding field is updated, and of course when the panel is shown to get the first time the totals.
It is not thoughfully tested and it has many flows (i.e it doesn't check for field existance or datatype etc), but at least it works.
Can you please confirm that is a valid way to get summaries?
asked 03 Oct '12, 09:19
Yes, your method is a valid way to get summaries. However, you can achieve the same functionality in a more efficient way using the
Also, you may need to call this function when a datasource row is deleted.
answered 03 Oct '12, 15:11
Ibrahim Sand... ♦♦
Hi Ibrahim, Thank you for the hint, but I think that by querying the table it will not show the changes the user is making in the grid before commiting the results. I will try your method.
answered 03 Oct '12, 21:43