columns([ IconColumn::make('sport_id') ->label('') ->icon(function ($record): string { return $record->sport->icon; }), TextColumn::make('txodds_id')->copyable(), TextColumn::make('starttime')->dateTime('M j, Y H:i')->sortable(), IconColumn::make('country_id') ->label('Flag') ->icon(function ($record): string { return $record->country->icon; }), TextColumn::make('country.name'), TextColumn::make('liga.name'), TextColumn::make('home.name')->searchable(), TextColumn::make('away.name')->searchable(), // TextColumn::make('prid') // ->numeric() // ->sortable(), // TextColumn::make('txid') // ->numeric() // ->sortable(), // TextColumn::make('brid') // ->numeric() // ->sortable(), // TextColumn::make('baid') // ->numeric() // ->sortable(), // TextColumn::make('cnid') // ->numeric() // ->sortable(), // TextColumn::make('grid') // ->numeric() // ->sortable(), // TextColumn::make('cgid') // ->numeric() // ->sortable(), // TextColumn::make('hoid') // ->numeric() // ->sortable(), // TextColumn::make('awid') // ->numeric() // ->sortable(), // TextColumn::make('liga') // ->searchable(), // TextColumn::make('away') // ->searchable(), TextColumn::make('created_at') ->dateTime() ->sortable() ->toggleable(isToggledHiddenByDefault: true), TextColumn::make('updated_at') ->dateTime() ->sortable() ->toggleable(isToggledHiddenByDefault: true), ]) ->filters([ // ]) ->recordActions([ EditAction::make(), ]) ->toolbarActions([ BulkActionGroup::make([ DeleteBulkAction::make(), ]), ]); } }