Set all column titles to headline()

Hi- I have lots of two-word column names, and I'd prefer table columns to use headline case, eg "Created At" rather than the default which winds up as "Created at". I know I could set an explicitly-cased title for each one, but I would much prefer that as the default.

Is there any place I can override getLabel() for my project? This tweak solves it:
    public function getLabel(): string | Htmlable
    {
        $label = $this->evaluate($this->label) ?? (string) str($this->getName())
            ->beforeLast('.')
            ->afterLast('.')
            ->headline();
            // ->kebab()
            // ->replace(['-', '_'], ' ')
            // ->ucfirst();
Was this page helpful?