# [Usage](../../../../usage.md) > [Components](../../basics.md) > [Visuals](../../basics.md) > [Table](../table.md) > poll

### `poll` | `->setPoll()`
Enables polling for dynamic tables (only if there is query). If simply set the method `->setPoll()` the default polling time will be `5000`ms (5 seconds). Custom polling time can be decided setting it inside:
```php
  ->setPoll(7000)
```

It now has a polling time of `7000`ms (7 seconds). It accepts milliseconds.

| Types | Default |
|-------|---------|
| `int` | `null`  |

What it does: enables auto-refresh for dynamic tables only (requires `setQuery()`). `->setPoll()` uses the default `5000` ms; `->setPoll(7000)` polls every 7 seconds. Values are milliseconds. Static (`values`) tables ignore it because there is no server query to re-run.

Minimal working example — Blade:
```php
{!!
    \KFramework\Components\Visual\Table::make()
        ->setSchema([
            \KFramework\Components\Visual\TableColumn::make('status')->setLabel('Status'),
        ])
        ->setQuery($ordersQuery)
        ->setPoll(7000)
!!}
```
Controller:
```php
Table::make()
    ->setSchema([TableColumn::make('status')->setLabel('Status')])
    ->setQuery(Order::query())
    ->setPoll(7000);
```
What the user sees: the table silently re-fetches data every N ms, so status changes appear without reloading the page.

Interaction:
- Pairs with [query](table_query.md) (required) + [pageable](table_pageable.md): live paginated lists stay fresh without losing the page.
- Combine with [custom filters](table_customfilters.md) when monitoring a filtered subset (e.g. only open jobs).
- See [printable](table_printable.md) for a snapshot of the currently polled/filtered data.

See also: [Table](../table.md), [Components basics](../../basics.md), [query](table_query.md), [pageable](table_pageable.md).
