How to completely disable pagination in a table? #1358
-
Greetings, I am using PowerGrid but I have a conflict with the page, when I am on page 2 or 3 PowerGrid takes the value of the "page" variable from the url and affects the page page of the table. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @SpeedyInternet, We are discussing this issue internally, if it is possible to improve PowerGrid without generating a breaking change. Currently, it is not possible to change the So, this is not a direct answer to your question, but perhaps you can have a custom You can see more at Livewire documentation on multiple paginators. Another possibility is to disable URL pagination in your component using Livewire's // app/Livewire/MyPowergridTable.php
class MyPowergridTable extends PowerGridComponent
{
use \Livewire\WithoutUrlPagination;
//... |
Beta Was this translation helpful? Give feedback.
-
@SpeedyInternet this feature is on its way to be merged and released. Thanks to @luanfreitasdev (PR #1364) |
Beta Was this translation helpful? Give feedback.
Hi @SpeedyInternet,
We are discussing this issue internally, if it is possible to improve PowerGrid without generating a breaking change.
Currently, it is not possible to change the
pageName
in a PowerGrid component.So, this is not a direct answer to your question, but perhaps you can have a custom
pageName
for your main component to avoid the collisions. For example, it can beproductPage
.You can see more at Livewire documentation on multiple paginators.
Another possibility is to disable URL pagination in your component using Livewire's
WithoutUrlPagination
Trait.