getSpreadsheetData(List<EnrollmentRecord> enrollments, CourseGrade courseGrade, Map<String, CourseGradeRecord> gradesMap) This method is called by the Course Grade UI after gathering filtered enrollment
records and course grade records, and before actually formatting and downloading
the XLS or CSV file.
This method is called by the Course Grade UI after gathering filtered enrollment
records and course grade records, and before actually formatting and downloading
the XLS or CSV file. Customized implementations could, for example, call out to
the course management service and change or add columns to the generic data table
which is sent on to be formatted.
Parameters: enrollments - Parameters: courseGrade - Parameters: gradesMap - a map of student UIDs to grade records a spreadsheet-like list of rows, each of which is a list of column values;the first row should contain header strings