# Add collection to UI

![](/files/HBqScaBk89zzYkXUhLGa)

{% tabs %}
{% tab title="Entry Vars" %}
**Enable Horizontal :** It is activated to generate a list in Horizontal mode.

**List data :** In this field we send an object that will be iterated within the function in order to generate the list.**(Required)**

**List instructions :** Opens a window to configure the properties and functions of each control within the list template.**(Required)**

**List reverse :** Render the list from the last to the first iteration.

**Scroll Inverted :** Scrolls the list inverted from bottom to top.

**Step by Step :**
{% endtab %}

{% tab title="Callbacks & OutVars" %}
**On done :**&#x49;t is executed once the list is finished rendering.

OutVars

`Null`
{% endtab %}

{% tab title="Features" %}

{% endtab %}

{% tab title="examples" %}

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apphive.io/reference/funciones/controls/add-collection-to-ui.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
