# AUR6000

## Error Message

`AUR6000: Horizontal virtual-repeat is not supported inside table elements (TABLE, TBODY, THEAD, TFOOT).`

## Description

This error occurs when `virtual-repeat` is configured for a horizontal layout (for example via CSS/strategy/layout) inside a table structure. Table layout rules and virtualization’s DOM measurements don’t work together reliably for horizontal virtualization.

## Example Trigger

```html
<!-- ❌ Avoid: virtual-repeat inside table elements -->
<table>
  <tbody>
    <tr virtual-repeat.for="item of items">
      <td>${item.name}</td>
    </tr>
  </tbody>
</table>
```

## Correct Usage

* Prefer non-table markup for horizontally virtualized lists (for example a `<div>`-based layout with `display: grid` or `flex`).
* If you must use a table, use vertical virtualization (or disable virtualization) and paginate instead.

## Troubleshooting

* Check where the `virtual-repeat` host element ends up in the DOM (the element that has `virtual-repeat.*`).
* If the host is inside `TABLE/TBODY/THEAD/TFOOT`, move the virtualized list outside the table, or change the layout strategy.


---

# 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.aurelia.io/developer-guides/error-messages/ui-virtualization/aur6000.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.
