---
id: gk-gravitymath-datatables-visible-max-rows
title: "Filter - gk/gravitymath/datatables/visible/max-rows"
sidebar_label: "gk/gravitymath/datatables/visible/max-rows"
tags:
  - "2.14.0"
---

# Filter: gk/gravitymath/datatables/visible/max-rows

The most rows a Preloaded DataTables table's `scope="visible"` total is worked out over.

When the table shows more, such as with "All" rows per page, the total is not updated and admins see why.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $max | `int` | The most rows. Default: 1000, or the largest number in the View's rows-per-page menu if larger. |
| $view | `\View` | The View. |

### Since

- 2.14.0

### Source

Defined in `includes/class-gravitymath-datatables-visible.php` at line 1821

