syncfusion/flutter-examples

Export datagrid to excel, the cell value wrapped with Text

GaoXing0608 opened this issue · 3 comments

Export the datagrid to excel, but the excel wraped the Text, how to fix it.

image

Hi,

We have conducted comprehensive testing on the provided sample using the latest DataGrid-Export package version 22.2.7. Our findings indicate that the functionality operates seamlessly without encountering any issues. The export to Excel successfully captures the values as expected. We kindly request you to review the enclosed sample from your end.

image

Sample Link: sample

Regards,
Tamilarasan

I solved it. Because of my datagrid with multiply kinds of cell, such as Image, TextButton and Text. So I created the DataGridCell as following

DataGridCell(columnName: "column1", value: TextButton(....)),
DataGridCell(columnName: "column2", value: Text(....))

So it exported with the "Text"

Hi,

We have conducted comprehensive testing on the provided sample using the latest DataGrid-Export package version 22.2.7. Our findings indicate that the functionality operates seamlessly without encountering any issues. The export to Excel successfully captures the values as expected. We kindly request you to review the enclosed sample from your end.

image

Sample Link: sample

Regards, Tamilarasan

Hi @faststare08,

We are closing this ticket. If you have any additional needs or questions, please don't hesitate to reopen it. We're here to support you.

Best regards,
Ashok K