Skip to content

Commit 83e230b

Browse files
Merge dimodi-patch-1-spreadsheet-3307 into production (#3313)
* docs(Spreadsheet): Explain that we expect XLSX files * Update components/spreadsheet/overview.md * Update components/spreadsheet/overview.md * Update components/spreadsheet/overview.md * Update components/spreadsheet/overview.md --------- Co-authored-by: Dimo Dimov <[email protected]>
1 parent 3d10dd1 commit 83e230b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

components/spreadsheet/overview.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The Spreadsheet for Blazor enables users to view and edit tabular data with an E
1818
To use the Telerik Spreadsheet for Blazor:
1919

2020
1. Add the `TelerikSpreadsheet` tag.
21-
1. (optional) Set the `Data` parameter to a byte array to load an existing Excel file.
21+
1. (optional) Set the `Data` parameter to a byte array to load an existing Excel file in Open XML (XLSX) format. [Using other formats is also possible](#spreadsheet-file-format).
2222

2323
>caption Basic Blazor Spreadsheet
2424
@@ -46,6 +46,16 @@ To use the Telerik Spreadsheet for Blazor:
4646
````
4747

4848

49+
## Spreadsheet File Format
50+
51+
The Telerik Spreadsheet component loads and exports files in the Open XML SpreadsheetML (XLSX) format. If you want to work with other formats, consider [Telerik Document Processing](slug:dpl-in-blazor). The library includes [different Spreadsheet `FormatProvider`s](https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/formats-and-conversion/general-information), which allow you to convert from one format to another. Here are a few possible use cases:
52+
53+
* Convert a [CSV](https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/formats-and-conversion/csv/csvformatprovider#import) or [XLS](https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/formats-and-conversion/import-and-export-to-excel-file-formats/xls/xlsformatprovider#import) file to [XLSX](https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/formats-and-conversion/import-and-export-to-excel-file-formats/xlsx/xlsxformatprovider#export). Use the correct `FormatProvider`, depending on the format that you want to `Import()` to a Telerik [`Workbook`](https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/working-with-workbooks/working-with-workbooks-what-is-workbook) and `Export()` to an office file format. Then, use the generated XLSX byte array to set the Spreadsheet `Data` parameter.
54+
* Convert an [XLSX file that was exported by the Telerik Spreadsheet](#spreadsheet-reference-and-methods) to another office document format before saving.
55+
* [Create an XLSX file from `IEnumerable` and pass it to the Spreadsheet](slug:spreadsheet-kb-bind-to-json-ienumerable-list-collection).
56+
* [Read an exported XLSX file and obtain all cell values](slug:spreadsheet-kb-get-cell-values).
57+
58+
4959
## Tools
5060

5161
The Spreadsheet provides built-in tools that perform various actions such as:

0 commit comments

Comments
 (0)