The GridDirection enumeration provides the following values:
Description
Value
wx.grid.GRID_COLUMN
wx.grid.GRID_ROW