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

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

  getRowHeight: -> @rowHeight

  setRowHeight: (@rowHeight) ->

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

  getLastColumn: -> @table.getColumnsCount() - 1

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

