     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?

          activeCell.row is student.row and
          activeCell.cell is cell
        #check for DA visible
        submission["hidden"] = !submission.assignment_visible if submission.assignment_visible?
        submission.hidden = true if @submissionOutsideOfGradingPeriod(submission, student, gradingPeriods, overrides)
        @updateAssignmentVisibilities(submission) if submission["hidden"]
        @updateSubmission(submission)
        @calculateStudentGrade(student)
        @grid.updateCell student.row, cell unless thisCellIsActive


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

    uneditableCellOutsideOfGradingPeriodFormatter: (row, col) ->
      """
        <div class='gradebook-tooltip'>
          #{htmlEscape(I18n.t("Submission in another grading period"))}
        </div>
        <div class='cell-content gradebook-cell grayed-out cannot_edit'></div>
      """

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