Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
145
How do I sum all the cells in a row into a "Total" column on the client side?
posted

I have a Total column where I want to sum each row. I would like it to update on the client side as the footer does. I have a SummaryRow that totals the columns in the footer but I am trying to sum across each row. I have been Googling and searching the forums but have not found an example. Can someone please tell me how to do this. Do I need to use the UltraWebCalcManager? Thanks in advance.

 

Parents
No Data
Reply
  • 0
    Offline posted

    This code loops through each row in the table body, then loops through each cell in the row, excluding the last column. It adds up the values in the cells and sets the value of the last cell weaver unlimited in the row to the total. The result will be a table with a "Total" column containing the sum of the values in each row.

Children
No Data