# GC.Spread.Sheets.CellTypes.Direction

## Content

# Enumeration: Direction

[Sheets](../modules/GC.Spread.Sheets).[CellTypes](../modules/GC.Spread.Sheets.CellTypes).Direction

Specifies the extend direction for radio list cells.

**`example`**
```javascript
//This example creates a radio button list cell.
var cellType2 = new GC.Spread.Sheets.CellTypes.RadioButtonList();
cellType2.items([{text:"a",value:1},{text:"b",value:2},{text:"c",value:3}]);
cellType2.direction(GC.Spread.Sheets.CellTypes.Direction.vertical);
activeSheet.getCell(2, 2).cellType(cellType2);
```

## Table of contents

### Enumeration members

- [horizontal](GC.Spread.Sheets.CellTypes.Direction#horizontal)
- [vertical](GC.Spread.Sheets.CellTypes.Direction#vertical)

## Enumeration members

### <a id="horizontal" name="horizontal"></a> horizontal

• **horizontal** = `0`

Specifies item extend by horizontal.

___

### <a id="vertical" name="vertical"></a> vertical

• **vertical** = `1`

Specifies item extend by vertical.
