Skip to content

Update subtotal after copy row

I added the copy row. However, the subtotals are not updated. What can I do to force an update of the table?

It needs to trigger the JS math function during clone row.

In cl_datagrid.php, in function "display_toolbar", under "if($this->can_copyow){", add the loadcomplete event handler as seen in

An easier way would be to simply reload the grid. 

var grid = jQuery("#TABLE_NAME");

Feedback and Knowledge Base