# encodeRow

Source: /xlsx-format/api-reference/functions/encoderow

Encode a zero-based row index to a 1-based row string.

```ts
encodeRow(row: number): string
```

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| ` row ` | ` number ` | Yes | Zero-based row index |

## Returns

` string `

1-based row string (e.g. "1" for row index 0)
