Table using Orderable with Grouping is ordered weirdly

Here's the code
$table
->reorderable('order_column')
->groups([
Group::make('position.name')
->label('Position'),
])
->columns([
TextColumn::make('given_name')
->searchable(),
TextColumn::make('family_name'),
])
$table
->reorderable('order_column')
->groups([
Group::make('position.name')
->label('Position'),
])
->columns([
TextColumn::make('given_name')
->searchable(),
TextColumn::make('family_name'),
])
What my expectation is the order is grouped by their group
No description
1 Reply
Rahman Ramsi
Rahman RamsiOP17mo ago
I also want to when the ordered item is moved to different group, it will change the group also, not just order, is there any method to override the behavior?

Did you find this page helpful?