nuAddRow()
Posted: Tue Jan 21, 2020 1:59 pm
Hi !
How does the JavaScript function "nuAddRow()" work ?
In the JavaScript custom code of the main form, I have this following code to remove all the subform rows :
But then when I click on a button to add new empty row in the subform, nothing happens with the "nuAddRow()" function...
Thanks for ur help !
How does the JavaScript function "nuAddRow()" work ?
In the JavaScript custom code of the main form, I have this following code to remove all the subform rows :
Code: Select all
var s = nuSubformObject('object_sf_id');
var r = s.rows;
for(var i = 0 ; i < r.length ; i++){
var c = 'object_sf_id' + nuPad3(i) + 'nuRECORD';
$('#' + c).remove();
}
Thanks for ur help !