Datatable pagination is showing "compact" version

I'm sure this is really obvious but I can't see what I'm doing wrong here. I've made a datatable and it's populating fine. But the pagination is not showing the page numbers and the "Showing x of y records" message. Instead it's showing "next" and "previous" buttons to navigate between pages. public function table(Table $table): Table { return $table ->query($this->getTableQuery()) ->columns($this->getTableColumns()) ->actions($this->getTableActions()) ->emptyStateHeading('No posts found'); }
Solution:
Ok I've figured it out. It's just how the pagination behaves on smaller screens.
Jump to solution
1 Reply
Solution
urbycoz
urbycoz8mo ago
Ok I've figured it out. It's just how the pagination behaves on smaller screens.
Want results from more Discord servers?
Add your server