Repeater TableColumn — Missing support for extraAttributes, extraHeaderAttributes, or sticky column customization in v4 #17480
ankleshchauhan
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I'm trying to style a Repeater table in Filament v4 to make the first column sticky and apply custom widths.
Code Example
Repeater::make('items')
->table([
TableColumn::make('Item')->width('550px'),
TableColumn::make('Description')->width('450px'),
TableColumn::make('Quantity')->width('100px'),
TableColumn::make('HSN/SAC')->width('100px'),
TableColumn::make('Price')->width('100px'),
TableColumn::make('Disc %')->width('100px'),
TableColumn::make('Tax Rate %')->width('100px'),
TableColumn::make('Taxable Amount')->width('100px'),
TableColumn::make(' ')->width('10px'),
])
I also tried:
->extraAttributes(['class' => 'sticky left-0'])
and
->extraHeaderAttributes(['class' => 'sticky left-0'])
but both methods throw errors:
Method Filament\Forms\Components\Repeater\TableColumn::extraAttributes does not exist
What I Need
Ability to make the first column sticky in the repeater table and horizontal scroll.
Environment
Laravel: 12.x
Filament: 4.x
PHP: 8.2
Browser: Chrome
Beta Was this translation helpful? Give feedback.
All reactions