how to trigger javascript function when i add a record to subgrid ? RRS feed

  • Question

  • hi,

    the moment i add a record to subgrid, i want to trigger JavaScript function automatically which will retrive the details of the record newely added and populate those values to parent record..

    any suggestions to achieve this ?

    Saturday, August 4, 2012 5:56 AM


  • Hi,

    To Update Parent Entity Fields: you can write a create/update plugin  or javascript on your child entity to update parent entity when new record is created or existing record is updated.

    To Refresh Parent Entity form : when you will created record from subgird, you need to refresh parent entity form to see the updated fields, for this you can attach event with subgrids to refresh parent form when subgrid is refreshed.


    Conatact Me
    Follow me on Twitter
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    • Proposed as answer by HIMBAPModerator Saturday, August 4, 2012 7:41 AM
    • Marked as answer by Wils.09 Wednesday, August 22, 2012 6:09 AM
    Saturday, August 4, 2012 7:40 AM