Table summary

Why the summary is not shown below the summary row: https://filamentphp.com/docs/4.x/tables/summaries
TextColumn::make('status')
->label('Status')
->badge()
->sortable()
->summarize([
Count::make()
->label('Waiting')
->query(fn ($query) => $query->where('status', EventStatus::WAITING->value)),
Count::make()
->label('Maybe')
->query(fn ($query) => $query->where('status', EventStatus::MAYBE->value)),
Count::make()
->label('Approved')
->query(fn ($query) => $query->where('status', EventStatus::APPROVED->value)),
Count::make()
->label('Declined')
->query(fn ($query) => $query->where('status', EventStatus::DECLINED->value)),
]),
TextColumn::make('status')
->label('Status')
->badge()
->sortable()
->summarize([
Count::make()
->label('Waiting')
->query(fn ($query) => $query->where('status', EventStatus::WAITING->value)),
Count::make()
->label('Maybe')
->query(fn ($query) => $query->where('status', EventStatus::MAYBE->value)),
Count::make()
->label('Approved')
->query(fn ($query) => $query->where('status', EventStatus::APPROVED->value)),
Count::make()
->label('Declined')
->query(fn ($query) => $query->where('status', EventStatus::DECLINED->value)),
]),
For example the first column can not be used for summary
No description
2 Replies
Dennis Koch
Dennis Koch2w ago
You mean, you don't see this part? Or what's the issue?
No description
hesesses
hesessesOP2w ago
On your screenshot Summary / Rating / is featured is header row and below that is average etc. The screenshot i posted it displays the data in the header row, not below the header row

Did you find this page helpful?