Good localtime(),
I'm trying to do an updateData, and besides sending the data I want to send some additional parameters as well. The records are in a ListGrid, and this is the code I made:
is submits the record OK, but not the parameters. No syntax error or whatsoever. What am I doing wrong now?
I'm trying to do an updateData, and besides sending the data I want to send some additional parameters as well. The records are in a ListGrid, and this is the code I made:
Code:
listCourse.selectAllRecords();
var data = listCourse.getSelection();
StudentsInCourseDS.updateData(
data,
null,
{
params: {
ACYear: selectsform.getField('acyearid').getValue(),
ACTerm: selectsform.getField('termid').getValue(),
courseID: courseidform.getField('courseid').getValue()
}
}
);
Comment