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

exportToPdfDocument / exportToExcelWorkbook -> column heading for multiple languages #2156

Open
Abhijit-Revamp opened this issue Nov 4, 2024 · 1 comment
Labels
data grid Data grid component waiting for customer response Cannot make further progress until the customer responds.

Comments

@Abhijit-Revamp
Copy link

Use case

My data grid has language specific header text in DataGrid.
The "columnName" in GridColumn is a variable name while the value (displayed in Grid) is NOT SAME as "columnName" (picked up from language specific strings)

Is there a way to ensure the exported column names are same as the one displayed in the sfDataGrid?

See the attached screenshots

  1. DataGrid
image
  1. Exported PDF
image
  1. Exported Excel
image

Proposal

Option to map columnName to exported header string

@VijayakumarMariappan VijayakumarMariappan added data grid Data grid component open Open labels Nov 5, 2024
@abineshPalanisamy
Copy link

Hi @Abhijit-Revamp ,

Please refer to the following Knowledge Base link for a deeper understanding of How to customize column header text during Excel and PDF export in Flutter DataTable. You can customize the provided code to suit your specific requirements.

KB link - Excel and PDF export

Regards,
Abinesh P

@ashok-kuvaraja ashok-kuvaraja added waiting for customer response Cannot make further progress until the customer responds. and removed open Open labels Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data grid Data grid component waiting for customer response Cannot make further progress until the customer responds.
Projects
None yet
Development

No branches or pull requests

4 participants