             submission = student["assignment_#{assignment_id}"]
             if @submissionOutsideOfGradingPeriod(submission, student, gradingPeriods, overrides)
               submission.hidden = true
+              submission.outsideOfGradingPeriod = true
           @rows.push(student)
 
     defaultSortType: 'assignment_group'


    staticCellFormatter: (row, col, val) ->
      "<div class='cell-content gradebook-cell'>#{htmlEscape(val)}</div>"

    uneditableCellFormatter: (row, col) ->
      "<div class='cell-content gradebook-cell grayed-out cannot_edit'></div>"

    cellFormatter: (row, col, submission) =>
      if !@rows[row].loaded
        @staticCellFormatter(row, col, '')
      else if submission.outsideOfGradingPeriod
        @uneditableCellOutsideOfGradingPeriodFormatter(row, col)
      else if submission.hidden
        @uneditableCellFormatter(row, col)
      else if !submission?
