---
title: "getColumn"
canonical: "https://support.appfire.com/space/PSJ/15487223/getColumn"
format: markdown
---
> Macro (aura-html)


> ℹ️ **Availability**
> ℹ️ 
> ℹ️ This function is available starting with
> ℹ️ 
> ℹ️ 1. **databasecf**** 2.1**
> ℹ️ 2. <span style="color: #091e42">**SIL Engine™**</span>** 2.0.3**

## Syntax

**<span style="color: #3366ff">getColumn(tableField, columnIndex)</span>**

## Description

> Macro (excerpt)
> 
> Retrieves data in the column at the specified index from a data table custom field.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| tableField | array | Yes | Value of the data table custom field |
| columnIndex | number | Yes | Index of the column to be retrieved |

## Return Type

**string[]**

## Example

![image](media://c30d45c4-861b-41fb-8f17-5f93beb135bf)

```
string[] fullNames = getColumn(customfield_10001, 2);
```

For the **Developers** custom field with the **customfield_10001 **id, the result returned by the above function call will be: **admin|developer1|developer2|developer3|developer4|developer5**.

# See also

- [getHeaders](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15488024)
- [getRow](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487253)
- [getTableElement](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481990)