> For the complete documentation index, see [llms.txt](https://docs.shimoku.com/dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shimoku.com/dev/elements/charts/table/search-bars.md).

# Search bars

By default our tables have the option to search the text fields of the table, which can be found as a search bar located in the right top corner of the table, in the following example it can be seen how the default configuration has the search bar.

```python
data = [
    {'date': dt.date(2021, 1, 1), 'x': 5, 'y': 5, 'searchA': 'A', 'searchB': 'B'},
    {'date': dt.date(2021, 1, 2), 'x': 6, 'y': 5, 'searchA': 'B', 'searchB': 'Z'},
    {'date': dt.date(2021, 1, 3), 'x': 4, 'y': 5, 'searchA': 'C', 'searchB': 'W'},
    {'date': dt.date(2021, 1, 4), 'x': 7, 'y': 5, 'searchA': 'B', 'searchB': 'T'},
    {'date': dt.date(2021, 1, 5), 'x': 3, 'y': 5, 'searchA': 'A', 'searchB': 'Z'},
]

s.plt.table(data=data, order=0)
```

![Table with enabled search bars](/files/aptiSfXE7q5KEm7ulaSl)

To use the search bar you just need to type the desired value and it automatically searches for the entries that match the value:

<figure><img src="/files/cwR2Ldi2s9IJuEnDYjS0" alt=""><figcaption><p>Result from searching the value B in the column searchA</p></figcaption></figure>

The search bar can be turned off by setting the parameter `search` to `False`.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.shimoku.com/dev/elements/charts/table/search-bars.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
