Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cell formatting + filtering to Grid Excel Export #6089

Closed
marciogurka opened this issue Jan 31, 2023 · 4 comments
Closed

Add cell formatting + filtering to Grid Excel Export #6089

marciogurka opened this issue Jan 31, 2023 · 4 comments
Assignees
Labels
feature request forum Issues from forum high-priority Urgent to have fixed OEM OEM customer resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@marciogurka
Copy link

Forum post

"Hello,

We are attempting to add header styling and filtering to the exported .xlsx.

Looking through the export demo and API documentation, it is not clear if this can be done and if so what configuration is required.

Demo: https://bryntum.com/products/grid/examples/exporttoexcel/
API Docs: Grid.feature.experimental.ExcelExporter

toolbar.push(
          {
            type: 'button',
            text: (window as any).Mpro.LanguageService.translate('page.shared.button.exportBtn'),
            listeners: {
              action: async () => {
                if (this.enableExcelExport) {
                  await this.grid.features.excelExporter.export({
                    filename: this.excelExportFileName,
                    dateFormat: 'DD/MM/YYYY HH:mm:ss',
                  });
                }
              },
              thisObj: this.grid,
            },
          }
        );

Thanks"
Basic styling example

@marciogurka marciogurka added feature request forum Issues from forum OEM OEM customer labels Jan 31, 2023
@bmblb
Copy link

bmblb commented Feb 1, 2023

For export we use #egeriis/zipcels library which does not allow styling by design. It should be possible with other libraries though. I suppose it should be possible to replace zipcelx library with a config to another library that supports styling. Exporter should be updated too, to allow functions to return column configs.

@matsbryntse matsbryntse changed the title Add Header Styling and Filtering to Grid Excel Export Add cell formatting + filtering to Grid Excel Export Feb 2, 2024
@ghulamghousdev
Copy link
Member

@ghulamghousdev ghulamghousdev added the high-priority Urgent to have fixed label May 3, 2024
@matsbryntse
Copy link
Member

@ghulamghousdev
Copy link
Member

@bmblb bmblb added the ready for review Issue is fixed, the pull request is being reviewed label Sep 2, 2024
@bmblb bmblb self-assigned this Sep 2, 2024
@isglass isglass added resolved Fixed but not yet released (available in the nightly builds) and removed ready for review Issue is fixed, the pull request is being reviewed labels Sep 4, 2024
@isglass isglass added this to the 6.1.0-alpha-2 milestone Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request forum Issues from forum high-priority Urgent to have fixed OEM OEM customer resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

6 participants