GridPanel - Calculating column with dependencies on other columns

  1. #1

    GridPanel - Calculating column with dependencies on other columns

    To keep it simple, is it possible to have one calculating column that is depended on two columns and takes the sum of them without adding custom javascript for the 3 columns?

    Scenario: Column 1 and 2 have editable values if they are changed by the user, it triggers column 3 to calculate the sum of column 1 and 2. Of course, my real scenario involves more than this but this is a start instead of handling everything by hand in javascript.
  2. #2
    Just add renderer for the column
    <Renderer Handler="return record.data.value1+record.data.value2;"/>
  3. #3
    Quote Originally Posted by Vladimir View Post
    Just add renderer for the column
    <Renderer Handler="return record.data.value1+record.data.value2;"/>
    Thank you for the fast reply and I also found the example that matched your reply.
    https://examples1.ext.net/#/GridPane...oupingSummary/

    For some reason, I missed it in the examples the other times I looked through them.
  4. #4

    Calculated field with SQL table field updating

Similar Threads

  1. Replies: 1
    Last Post: Mar 26, 2012, 7:03 PM
  2. Calculating Sum of Row Values In GridPanel
    By aniketyadav7 in forum 1.x Help
    Replies: 1
    Last Post: Mar 17, 2012, 3:33 PM
  3. Replies: 2
    Last Post: May 07, 2011, 5:30 AM
  4. Replies: 1
    Last Post: Nov 17, 2010, 3:07 PM
  5. [CLOSED] Problem with calculating sum for grid columns?
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Oct 15, 2009, 11:59 AM

Posting Permissions