F
Filament4mo ago
aksh

Update specific column data of each row of another table when reordering the rows of category

Hello guys, I want to run static "changeSort" when reordering the rows ->striped()->reorderable('sort')->reorderRecordsTriggerAction( fn (Action $action, bool $isReordering) => $action ->button() ->label($isReordering ? ('text.Disable reordering') : ('text.Enable reordering')), ); public static function changeSort(){ dd('test'); }
2 Replies
Dennis Koch
Dennis Koch4mo ago
Please check our #✅┊rules before posting. (Code formatting) If you want to change the sort behaviour you can overwrite the public function reorderTable(array $order): void on the ListPage.
aksh
aksh4mo ago
I want to hit a livewire method "changeLSlot() " in this public function reorderTable(array $order): void.
Want results from more Discord servers?
Add your server