- Wed Apr 27, 2016 1:19 pm
#785256
I have the following Javascript code running on a particular dynaform to update a variable with a computed total of a grid column:
Any ideas what is going on?
Code: Select all
It works fine in desktop browsers but does not work on the mobile application. It fills the variable with the value '[object object]' and does not update when the grid is altered. var total = $('#totalVar');
var grid_details = $('#gridVar');
$("form").setOnchange( function() {
var t = grid_details.getSummary("columnVar");
total.setValue( t );
} );
Any ideas what is going on?