     if @activeCellPosition.row - 1 >= 0
       @activeCellPosition.row--
     else
-      @activeCellPosition.row = @table.getRowsCount() - 1
+      @activeCellPosition.row = @getLastRow()
 
     @requestUpdate(true)
     @makeRowVisible(@activeCellPosition.row)

  #    ##    ##  ##     ## ##  ##  ## ##    ##
  #    ##     ##  #######   ###  ###   ######

  getRowHeight: -> @rowHeight

  setRowHeight: (@rowHeight) ->

    if @activeCellPosition.column - 1 >= 0
      @activeCellPosition.column--
    else
      @activeCellPosition.column = @getLastColumn()

      if @activeCellPosition.row - 1 >= 0
        @activeCellPosition.row--
      else
        @activeCellPosition.row = @getLastRow()

    @requestUpdate(true)
    @makeRowVisible(@activeCellPosition.row)
