Table stuck in Load #1131
Replies: 3 comments 2 replies
-
Hey! Could you check if there are any errors in your console for the table load issue and to change your primary key to a custom column you can add the following:
More about it in the documentation : https://v4.livewire-powergrid.com/table/datasource.html#custom-primary-key |
Beta Was this translation helpful? Give feedback.
-
No errors are shown, neither on the browser console, or within the VSCode console. It's strange, because using DataTables, the table loads the data normally and without problems. I followed this tutorial, but it is precisely when the table is rendered that it enters loop. |
Beta Was this translation helpful? Give feedback.
-
Hello!. I fixed this problem in this PR and I also fixed it in version 5.x. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to add a powergrid table but even though it renders data from the database it gets stuck in infinite load. I cannot filter, search or any other action.
I've tested using Eloquent and Model, but it gets stuck in this state.
Another thing, how could I change the Primary Key to the column name I use? Because by default powergrid looks for the "id" column, but the one I use is called "artistaID".
Beta Was this translation helpful? Give feedback.
All reactions