diff --git a/src/Datatable/Datatable.php b/src/Datatable/Datatable.php index 45f78fb..462636a 100644 --- a/src/Datatable/Datatable.php +++ b/src/Datatable/Datatable.php @@ -438,7 +438,7 @@ public function getDatatableScript(): string 'columnSearchTemplate' => $columnSearchTemplate, 'tagId' => $tagId, 'autoWidth' => $this->getConfig('autoWidth') ? 'true' : 'false', - 'pageLength' => $this->getConfig('pageLentgh') ?? '10', + 'pageLength' => $this->getConfig('pageLength') ?? '10', 'processing' => $this->getConfig('processing') ? 'true' : 'false', 'serverSide' => $this->getConfig('serverSide') ? 'true' : 'false', 'configColumns' => $this->configColumns,