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

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

  isActiveColumn: (column) -> @activeCellPosition.column is column


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

  getLastRow: -> @table.getRowsCount() - 1

  getRowHeight: -> @rowHeight

  setRowHeight: (@rowHeight) ->
