Skip to main content

I have a javascript function that creates a new row in an another model within a popup. In order to correctly create this record I need to access the current context row for the popup within my javascript code. I have searched online for this but could not find a solution. I would appreciate your help on this. 

Found the answer. This can be done in a snippet as below:


var params = arguments[0], rowInContext = params.row;<br>

Glad you figured it out, Sukhpreet!