> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/flow/tutorials/components/data-table/tips-and-tricks.md).

# Tips and Tricks

Focused Data Table answers for screen flows, grouped by goal: the column editor, formula fields, scrolling, colors, visibility, header actions and refresh.

Each tip answers one question about the Data Table in a screen flow. For full tutorials, start from the [Data Table tutorials](https://docs.avonnicomponents.com/flow/tutorials/components/data-table.md).

## Build and display

* [Data Table editor](https://docs.avonnicomponents.com/flow/tutorials/components/data-table/tips-and-tricks/data-table-editor.md): build the columns on the preview and use each header menu.
* [Handling formula text fields](https://docs.avonnicomponents.com/flow/tutorials/components/data-table/tips-and-tricks/handling-formula-text-field.md): render `IMAGE()` and `HYPERLINK()` formulas.
* [Activate infinite scrolling](https://docs.avonnicomponents.com/flow/tutorials/components/data-table/tips-and-tricks/activate-infinite-scrolling.md): load long lists in batches as the user scrolls.

## Style

* [Customizing the badge color using a formula](https://docs.avonnicomponents.com/flow/tutorials/components/data-table/tips-and-tricks/customizing-the-badge-color-using-a-formula.md): one badge color per stage.
* [How to conditionally color cells](https://docs.avonnicomponents.com/flow/tutorials/components/data-table/tips-and-tricks/how-to-conditionally-color-cells.md): a background color per cell from a formula.
* [How to set column visibility](https://docs.avonnicomponents.com/flow/tutorials/components/data-table/tips-and-tricks/how-to-set-column-visibity.md): show a column only to the right users.

## Act

* [Passing multiple record IDs to another flow](https://docs.avonnicomponents.com/flow/tutorials/components/data-table/tips-and-tricks/passing-multiple-record-ids-to-another-flow.md): send the ticked rows to a flow in a dialog.
* [How to grayscale header actions dynamically](https://docs.avonnicomponents.com/flow/tutorials/components/data-table/tips-and-tricks/how-to-grayscale-header-actions-dynamically-in-avonni-data-table.md): keep header buttons disabled until a row is ticked.
* [Enabling auto-refresh on the Data Table when pressing a button](https://docs.avonnicomponents.com/flow/tutorials/components/data-table/tips-and-tricks/enabling-auto-refresh-on-the-data-table-when-pressing-a-button.md): reload the rows from a button or after a dialog.
* [Creating an action from a button or a link](https://docs.avonnicomponents.com/flow/tutorials/components/data-table/tips-and-tricks/creating-an-action-from-a-button-or-a-link.md): now part of [Creating Row Actions](https://docs.avonnicomponents.com/flow/tutorials/components/data-table/creating-row-actions.md).

## Watch

{% embed url="<https://www.youtube.com/watch?v=bViQNI5RlR8>" %}

Seven Data Table tricks built in a real screen flow.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avonnicomponents.com/flow/tutorials/components/data-table/tips-and-tricks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
