striped() ->defaultPaginationPageOption(5) ->columns([ TextColumn::make('id')->searchable(), TextColumn::make('name')->searchable(), BookmakerIcon::make('icon')->label('Icon')->size('lg'), ToggleColumn::make('in_soccer')->onColor('success'), ToggleColumn::make('in_other')->onColor('success'), ToggleColumn::make('txso'), ToggleColumn::make('txot'), ToggleColumn::make('betsapi'), ToggleColumn::make('direct'), ToggleColumn::make('is_active')->onColor('success'), ToggleColumn::make('need_check')->onColor('danger'), ]) ->defaultSort('id') ->filters([ TernaryFilter::make('in_soccer'), TernaryFilter::make('in_other'), TernaryFilter::make('txso'), TernaryFilter::make('txot'), TernaryFilter::make('betsapi'), TernaryFilter::make('direct'), TernaryFilter::make('is_active')->default(true), TernaryFilter::make('need_check'), ], FiltersLayout::AboveContent) ->deferFilters(false) ->recordActions([ EditAction::make()->hiddenLabel(), ]); } }