# GridCount

> Renders the row-count sentence below a panel grid.

[API reference](/docs/api/index.md) › [Debug Core](/docs/extensions/debug-core/reference/index.md) › [View](/docs/extensions/debug-core/reference/view/index.md) › [Grid](/docs/extensions/debug-core/reference/view/grid/index.md) › GridCount

| final class | `PHPForge\Debug\View\Grid\GridCount` |
| --- | --- |
| Source | [`src/View/Grid/GridCount.php`](https://github.com/php-forge/debug-core/blob/main/src/View/Grid/GridCount.php#L12) |

Renders the row-count sentence below a panel grid.

## Methods

| Method | Description | Defined by |
| --- | --- | --- |
| [`render()`](#method-render) static | Returns the rendered row-count sentence for the rows currently on screen. | `GridCount` |

## Method details

### render() <span id="method-render"></span>

```php
public static function render(int $begin, int $end, int $total): string
```

Returns the rendered row-count sentence for the rows currently on screen.

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$begin` | `int` | One-based position of the first visible row. |
| `$end` | `int` | One-based position of the last visible row. |
| `$total` | `int` | Number of rows matching the active filters. |

**Returns**

`string`