[CLOSED] Summary Column on Nested GridPanel

  1. #1

    [CLOSED] Summary Column on Nested GridPanel


    I have some problem with column with nested grid plugin. How can i get summary column in parent grid? Or somebody can give me an example to do that. The summary is from child column in nested grid. I was see from example here http://examples2.ext.net/#/GridPanel...Grid_TotalRow/ but i want it that in nested gridpanel. I attaching image for what i'm talking about


    Thanks for your help.
    Attached Thumbnails summary_grid.jpg  
    Last edited by Daniil; Jul 23, 2014 at 1:01 PM. Reason: [CLOSED]
  2. #2
    Hi @redi,

    I think there is no built-in functionality to achieve that.

    My first thought is just to load the summary data to the Store of the parent GridPanel. I mean that you probably can calculate everything on server side, cannot you?
  3. #3
    Hai Danill,

    Thanks for your reply. Yes i could do the calculate from server side when i load data from database and store it to store. But in my case, that the grid can be edited when the form position in Edited Form. When i input production column in child the Production Column in parent grid auto fill that column with calculation from child grid. Can it be do in javascript ?
  4. #4
    I think it is possible.

    From an inner GridPanel's Edit event handler, you can access a parent record by:
    <Edit Handler="var parentRecord = e.grid.record;" />

Similar Threads

  1. Replies: 2
    Last Post: May 01, 2014, 11:28 PM
  2. Replies: 1
    Last Post: Apr 16, 2014, 4:34 PM
  3. [CLOSED] GridPanel Summary Column Alignment Issue
    By hemantpatil in forum 2.x Premium Help
    Replies: 1
    Last Post: Sep 05, 2013, 10:21 AM
  4. Replies: 6
    Last Post: Oct 15, 2012, 6:20 AM
  5. [CLOSED] summary column for gridpanel?
    By leon_tang in forum 1.x Premium Help
    Replies: 4
    Last Post: Feb 25, 2011, 8:01 AM

Posting Permissions