Skip to content

Commit cf5f70f

Browse files
984711: Updated the UG content and samples for Excel Export in Blazor DataGrid
1 parent dfd90f8 commit cf5f70f

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

blazor/datagrid/excel-export-options.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,9 +1809,8 @@ To merge two Excel memory streams and export the combined file as a single Excel
18091809

18101810
In this configuration, two memory streams are used:
18111811

1812-
**streamDoc1:** Represents the default Grid export.
1813-
**streamDoc2:** Represents a customized Grid export using [ExcelExportProperties](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.ExcelExportProperties.html).
1814-
1812+
- **streamDoc1:** Represents the default Grid export.
1813+
- **streamDoc2:** Represents a customized Grid export using [ExcelExportProperties](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.ExcelExportProperties.html).
18151814
The merging process combines the contents of both streams into a single workbook, which is then exported as a memory stream and downloaded via JavaScript interop.
18161815

18171816
{% tabs %}

blazor/datagrid/templates-excel-export.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@ public class EmployeeData
139139
{% endhighlight %}
140140
{% endtabs %}
141141

142-
{% previewsample "https://blazorplayground.syncfusion.com/embed/rjVeZpinSuMCxdjJ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Exporting with column template](./images/column-template.gif)" %}
142+
{% previewsample "https://blazorplayground.syncfusion.com/embed/rjVeZpinSuMCxdjJ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
143+
144+
![Exporting with column template](./images/column-template.gif)
143145

144146
## Exporting with group caption template
145147

@@ -254,7 +256,9 @@ public class OrderData
254256
{% endhighlight %}
255257
{% endtabs %}
256258

257-
{% previewsample "https://blazorplayground.syncfusion.com/embed/rjVejJMmrqlNTnoQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Exporting with group caption template](./images/group-caption.gif)" %}
259+
{% previewsample "https://blazorplayground.syncfusion.com/embed/rjVejJMmrqlNTnoQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
260+
261+
![Exporting with group caption template](./images/group-caption.gif)
258262

259263
## Exporting with detail template
260264

@@ -590,7 +594,9 @@ public class ProductData
590594
{% endhighlight %}
591595
{% endtabs %}
592596

593-
{% previewsample "https://blazorplayground.syncfusion.com/embed/hDBSNfWcLSCKHChU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Exporting with detail template](./images/detail-template.gif)" %}
597+
{% previewsample "https://blazorplayground.syncfusion.com/embed/hDBSNfWcLSCKHChU?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
598+
599+
![Exporting with detail template](./images/detail-template.gif)
594600

595601
## Exporting hierarchical Grid using detail template
596602

@@ -886,4 +892,6 @@ public class OrderDetails
886892
{% endhighlight %}
887893
{% endtabs %}
888894

889-
{% previewsample "https://blazorplayground.syncfusion.com/embed/LjBytpWQhgOCVmqd?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Exporting hierarchical Grid using detail template](./images/hierarchical-detail-template.gif)" %}
895+
{% previewsample "https://blazorplayground.syncfusion.com/embed/LjBytpWQhgOCVmqd?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
896+
897+
![Exporting hierarchical Grid using detail template](./images/hierarchical-detail-template.gif)

0 commit comments

Comments
 (0)