Spreadsheet / Exporting / Export

Blazor Spreadsheet Example - Export

Loading Syncfusion Blazor Server Demos…

A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
AA
AB
AC
AD
AE
AF
AG
AH
AI
AJ
AK
AL
AM
AN
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Ivaa Premium Cars
Customer NameMail IDModelNo. of carsDelivery DateAmount
Sarah Johnsonsarah.johnson@example.comTaurus27/11/2020$8,529.22
Michael Smithmichael.smith@example.comSparrow17/13/2021$17,866.19
Emily Davisemily.davis@example.comGrand Cherokee19/4/2020$13,853.09
John Andersonjohn.anderson@example.comGTO312/15/2022$2,338.74
Jessica Martinezjessica.martinez@example.comLX210/8/2019$9,578.45
Daniel Thompsondaniel.thompson@example.comCatera17/1/2022$19,141.62
Samantha Harrissamantha.harris@example.comSeries 7312/20/2020$6,543.30
Christopher Wilsonchristopher.wilson@example.comCorvette211/24/2019$13,035.06
Ashley Brownashley.brown@example.comRegal15/12/2019$18,488.80
Matthew Taylormatthew.taylor@example.comS4212/30/2019$12,317.04
Olivia Garciaolivia.garcia@example.comTL312/18/2023$6,230.13
David Hernandezdavid.hernandez@example.comClub Wagon22/2/2020$9,709.49
Emma Mooreemma.moore@example.comV8 Vantage211/19/2019$9,766.10
Andrew Lewisandrew.lewis@example.comCaravan32/8/2019$7,685.49
Elizabeth Clarkelizabeth.clark@example.comBravada18/5/2021$18,012.45
James Walkerjames.walker@example.comColorado35/30/2021$2,785.49
Ava Rodriguezava.rodriguez@example.comRunner312/10/2021$9,967.74
Ryan Whiteryan.white@example.comTSX310/23/2019$5,584.33
Madison Leemadison.lee@example.comPathfinder212/24/2020$5,286.53
Nicholas Martinnicholas.martin@example.comCharger211/20/2023$13,511.91
Sophia Hallsophia.hall@example.comBonneville211/19/2023$6,498.19
Joshua Youngjoshua.young@example.comB-Series210/30/2019$10,359.67
Isabella Kingisabella.king@example.comVoyager34/6/2023$8,118.39
Joseph Allenjoseph.allen@example.comGrand Prix110/13/2021$10,204.37
Charlotte Scottcharlotte.scott@example.comSunbird310/22/2023$6,528.06
William Greenwilliam.green@example.comMirage29/12/2019$5,619.25
Amelia Adamsamelia.adams@example.comXK15/12/2021$5,091.43
Ethan Carterethan.carter@example.comAccord19/3/2023$14,566.08
Mia Turnermia.turner@example.comRange Rover Sport22/22/2023$5,284.87
Alexander Bakeralexander.baker@example.comRunner312/25/2023$5,524.25
Chloe Hillchloe.hill@example.comTSX32/25/2023$2,543.25
Benjamin Nelsonbenjamin.nelson@example.comPathfinder211/19/2023$8,524.35
Grace Mitchellgrace.mitchell@example.comCharger210/30/2019$9,542.35
Jacob Perezjacob.perez@example.comBonneville34/6/2023$8,872.52
Avery Robertsavery.roberts@example.comB-Series110/13/2021$12,884.52
Ethan Thomasethan.thomas@example.comVoyager110/22/2023$19,352.24
Lily Phillipslily.phillips@example.comGrand Prix29/12/2019$8,546.24
Samuel Davissamuel.davis@example.comSunbird32/8/2019$8,844.25
Zoey Campbellzoey.campbell@example.comMirage28/5/2021$9,635.25
Daniel Cooperdaniel.cooper@example.comXK35/30/2021$7,854.24
Madeline Collinsmadeline.collins@example.comAccord112/10/2021$14,297.36
Nathan Edwardsnathan.edwards@example.comRange Rover Sport212/24/2020$8,745.35
Evelyn Stewartevelyn.stewart@example.comRunner111/20/2023$17,825.52
Alexander Riveraalexander.rivera@example.comTSX112/20/2020$15,994.34
Sophia Hendersonsophia.henderson@example.comPathfinder28/30/2019$9,154.34
Isaac Morrisisaac.morris@example.comCharger312/13/2023$13,082.34
Claire Rogersclaire.rogers@example.comBonneville310/1/2019$7,963.35

This sample demonstrates the save functionality of the Blazor Spreadsheet using a car sales dataset. It highlights how structured data can be efficiently saved in multiple formats while preserving formatting, formulas, and layout for further analysis and sharing.

The Blazor Spreadsheet supports saving data in multiple formats, ensuring compatibility and seamless integration across different applications. To enable saving, set the AllowSave property to true.

Supported save formats:

  • XLSX - Saves the spreadsheet with all applied formatting, formulas, and data in the modern Excel 2007+ format for further editing in Excel.
  • XLS - Saves the file in the older Excel 97-2003 format for compatibility with legacy systems and applications.
  • CSV - Saves raw data in a lightweight, plain-text format for easy integration with other tools and systems.
  • PDF - Converts the spreadsheet content into a printable and shareable document while retaining layout and styles.

You can save the spreadsheet programmatically using the SaveAsync method to save in different formats, or use the SaveAsStreamAsync method to obtain the file as a memory stream for custom handling.

In this demo, you can apply formatting and organize the car sales dataset, then save it using the available options in the ribbon toolbar.

For more detailed information about saving, refer to the save documentation.

Looking for the full Blazor Spreadsheet Editor component overview, features, pricing, and documentation? Visit the Blazor Spreadsheet Editor component page.

Transform your Blazor web apps today with Syncfusion® Blazor components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE