fpolli
fpolli
FFilament
Created by fpolli on 3/14/2025 in #❓┊help
Hide table column based on value of another column
yeah, I was already using state so I just added a conditional and it works like a charm
14 replies
FFilament
Created by fpolli on 3/14/2025 in #❓┊help
Hide table column based on value of another column
Thanks!
14 replies
FFilament
Created by fpolli on 3/14/2025 in #❓┊help
Hide table column based on value of another column
so I would use state to send a blank string on the rows
14 replies
FFilament
Created by fpolli on 3/14/2025 in #❓┊help
Hide table column based on value of another column
that makes sense
14 replies
FFilament
Created by fpolli on 3/14/2025 in #❓┊help
Hide table column based on value of another column
right
14 replies
FFilament
Created by fpolli on 3/14/2025 in #❓┊help
Hide table column based on value of another column
Tables\Columns\TextColumn::make('actual_net')
->hidden(fn (Get $get) => $get('name') == 'Imported Budget')
->label('Actual Net')
->state(function (Budget $record): string {
return $record->actualNet()->formatTo('en_US');
}),
Tables\Columns\TextColumn::make('actual_net')
->hidden(fn (Get $get) => $get('name') == 'Imported Budget')
->label('Actual Net')
->state(function (Budget $record): string {
return $record->actualNet()->formatTo('en_US');
}),
14 replies
FFilament
Created by fpolli on 3/14/2025 in #❓┊help
Hide table column based on value of another column
that is a clue. Yes, I am trying to hide a table column:
14 replies