© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
dwong98

Positioning record checkbox in contentGrid

Hi all, i have a table that are displaying all the data in grid by using contentGrid. Wanted to know if i can position the record checkbox to right side of the grid?


Some example codes.
  return $table
            ->contentGrid([
                'md' => 3,
                'xl' => 4
            ])
            ->recordCheckboxPosition(RecordCheckboxPosition::AfterCells)
            ->recordUrl(null) // to disable table row clickable.
            ->defaultSort('created_at', 'desc')
            ->columns([
                Tables\Columns\Layout\Stack::make([
                    // all the components..
                ])
  return $table
            ->contentGrid([
                'md' => 3,
                'xl' => 4
            ])
            ->recordCheckboxPosition(RecordCheckboxPosition::AfterCells)
            ->recordUrl(null) // to disable table row clickable.
            ->defaultSort('created_at', 'desc')
            ->columns([
                Tables\Columns\Layout\Stack::make([
                    // all the components..
                ])


based on documentation, i can change the checkbox position either BeforeCells or AfterCells, but seems like it wont work if i have a Stack layout wrapping all the components.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

$table->contentGrid()
FilamentFFilament / ❓┊help
3y ago
contentGrid mobile in table grid
FilamentFFilament / ❓┊help
17mo ago
contentGrid add xs class
FilamentFFilament / ❓┊help
2y ago
Checkbox problem in mobile
FilamentFFilament / ❓┊help
3mo ago