Closed tangjh closed 2 years ago
If you are going to use the update on the component, I advise using the datatables as Model.
But if you still want to use it to update, you can remove the cache (it is only used in collection)
livewire-powergrid.php
:
Update to false
Got it. Thanks.
When using Collection, edited text revert back to old Collection data after doing filtering.
1) Edit a text eg. name column 2) Edited text is reflected 3) Select a filter which does not consist of the edited row 4) Select filter which consist of the edited row. Text is reverted back to the original text. Checked the Collection and the Collection is updated.
Cache issue?
I'm using the development main branch. Testing the same steps with Model does not have problem. Text is updated correctly.