If the teacher is the same for each section of the course, the grades will appear in a single row.

If the teacher is different for each section of the course, the grades will display across multiple rows.