//Interactive grid /Dynamic Actions/ Execute JavaScript
var widget = apex.region('emp').widget();
var grid = widget.interactiveGrid('getViews','grid');
var model = grid.model;
var selRecs = grid.view$.grid("getSelectedRecords");
selRecs.forEach(function(r) {
model.setValue(r,"COMM",model.getValue(r,"SAL"));
}
);