Originally posted by **abhaypithadiya** May 16, 2024
I have a datasource which returns a collection.
```
public function datasource(): ?Collection
{
return $this->productCollection;
}
```
When I use any column summary it doesn't display.
```
Column::make('Gross Wt', 'gross_wt')
->withSum('Total Gross Wt', true, false)
->searchable()
->sortable(),
```
Does this feature only work for Eloquent? I couldn't find anything in the documentation.
Discussed in https://github.com/Power-Components/livewire-powergrid/discussions/1554