raj
raj

Reputation: 43

Export Datagrid values to Excel in flex3

Datagrid with 3 columns namely Name,Place and Country. In order to export these columns values to Excel sheet by Clicking a Button called 'Export to Excel'. When Click this button, the values in datagrid is exported in excel sheet. If anybody know this, Please give some samples. Thanks in advance.

Upvotes: 0

Views: 1036

Answers (2)

blue112
blue112

Reputation: 56582

You can make a CSV file, by making a loop running through each columns and line.
Separate colums with ";" and each line with "\n"

Then, you can import the CSV file into Excel, it should work out of the box.

Upvotes: 1

Related Questions