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'),
        ];
    }

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 2, 2024

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.

2 participants