Detailed Editable Grid : Unable to get data from Servlet to model

2 posts, 0 answers
  1. Nagaraju
    Nagaraju avatar
    5 posts
    Member since:
    Apr 2016

    Posted 02 May 2016 Link to this post


       Thanks in advance.

    I am working on Detailed Editable Grid. The Inner Grid is editable.

    The outer  grid has a column with  total value of one of the child grid's field.
    SO, whenever a child grid row is updated, It will call the servlet and update the database table and return the row with "totalPercentage" field added to the row,

    I want to set this field to parent grid. But , I am getting the "totalPercentage" as undefined. I am attaching the code.

    Is there any way we can refresh only one row of the parent grid when child grid is updated ?


    capture the values returned from servlet.


    I am very new to Kendo. Can you please suggest any alternative way if it is better ?





  2. Nikolay Rusev
    Nikolay Rusev avatar
    2289 posts

    Posted 04 May 2016 Link to this post

    Hello Nagaraju,

    Both Grids are disconnected from one another. Thus when you make changes in one of them the other doesn't know about it.

    A possible way to communicate child-parent is to handle sync event of the child/detail data source, and force read of the master data source.

    This however will cause repaint of the master Grid and all expanded items will be lost. The following how-to article demonstrates a technique to preserve expanded state upon refresh, if you need that.

    Nikolay Rusev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top