Skip to content

Conversation

yajra
Copy link
Owner

@yajra yajra commented Sep 2, 2024

Since fast-excel v5.5.0, per cell styling is now supported.

This PR aims to support export format styling:

Usage

In your DataTable class, enable fastExcel then define the export format in your column definition.

    protected bool $fastExcel = true;

    public function getColumns(): array
    {
        return [
            \Yajra\DataTables\Html\Column::make('created_at')->exportFormat('mm/dd/yyyy'),
        ];
    }

Copy link

sonarqubecloud bot commented Sep 2, 2024

@yajra yajra merged commit 44d7ada into master Sep 2, 2024
10 checks passed
@yajra yajra deleted the patch-1 branch September 2, 2024 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant