Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions blazor/datagrid/column-menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ The following sample, **Filter** item was hidden in column menu when opens for t
{% highlight razor tabtitle="Index.razor" %}
@using Syncfusion.Blazor.Grids

<SfGrid @ref="Grid" DataSource="@Orders" Height="315" AllowFiltering="true" AllowGrouping="true" ShowColumnChooser="true" AllowSorting="true" ShowColumnMenu="true">
<SfGrid @ref="DefaultGrid" DataSource="@Orders" Height="315" AllowFiltering="true" AllowGrouping="true" ShowColumnChooser="true" AllowSorting="true" ShowColumnMenu="true">
<GridEvents OnColumnMenuOpen="OnColumnMenuOpenHandler" TValue="OrderData"></GridEvents>
<GridFilterSettings Type="FilterType.Menu"></GridFilterSettings>
<GridGroupSettings ShowGroupedColumn="true"></GridGroupSettings>
Expand Down Expand Up @@ -365,7 +365,7 @@ Here is an example of how to configure the `ColumnMenuItems` property to include
@using Syncfusion.Blazor.Navigations

<SfGrid @ref="DefaultGrid" DataSource="@Orders" Height="315" AllowGrouping="true" ShowColumnChooser="true" AllowSorting="true" ShowColumnMenu="true" AllowFiltering="true" ColumnMenuItems=@menuItem>
<GridEvents ColumnMenuItemClicked="ColumnMenuItemClickedHandler" TValue="Order"></GridEvents>
<GridEvents ColumnMenuItemClicked="ColumnMenuItemClickedHandler" TValue="OrderData"></GridEvents>
<GridFilterSettings Type="FilterType.CheckBox"></GridFilterSettings>
<GridGroupSettings ShowGroupedColumn="true"></GridGroupSettings>
<GridColumns>
Expand Down
1 change: 1 addition & 0 deletions blazor/datagrid/data-binding/local-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ Below is an example showing how to implement grouping and aggregates in a custom

@using Syncfusion.Blazor.Grids
@using Syncfusion.Blazor.Data
@using Syncfusion.Blazor
@using System.Data
@using System.Dynamic
@using System.Collections
Expand Down
15 changes: 9 additions & 6 deletions blazor/datagrid/excel-export-options.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Excel Export in Blazor DataGrid | Syncfusion
description: Checkout and learn here all about Excel Export in Syncfusion Blazor DataGrid component and much more.
description: Checkout and learn here all about Excel Export Options in Syncfusion Blazor DataGrid component and much more.
platform: Blazor
control: DataGrid
documentation: ug
Expand Down Expand Up @@ -1560,7 +1560,7 @@ In the **Index.razor** file, the Grid is set up, the export operation is trigger
@using Syncfusion.ExcelExport;
@inject IJSRuntime JSRuntime

<SfGrid ID="Grid" @ref="DefaultGrid" DataSource="@Orders" Toolbar="@(new List<string>() { "ExcelExport"})" AllowExcelExport="true" AllowPaging="true">
<SfGrid ID="Grid" @ref="Grid" DataSource="@Orders" Toolbar="@(new List<string>() { "ExcelExport"})" AllowExcelExport="true" AllowPaging="true">
<GridEvents OnToolbarClick="ToolbarClickHandler" TValue="OrderData"></GridEvents>
<GridColumns>
<GridColumn Field=@nameof(OrderData.OrderID) HeaderText="Order ID" TextAlign="TextAlign.Right" Width="120" IsPrimaryKey="true" />
Expand Down Expand Up @@ -1641,7 +1641,8 @@ public class OrderData
{% endhighlight %}
{% endtabs %}

> You can find a complete sample on [GitHub](https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Exporting_Memory_Stream/Exporting_Stream).
> You can find a complete sample on [GitHub]
(https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Exporting_Memory_Stream/Exporting_Stream).

### Converting Memory Stream to File Stream for Excel Export

Expand Down Expand Up @@ -1753,11 +1754,12 @@ public class OrderData
{% endhighlight %}
{% endtabs %}

> You can find a complete sample on [GitHub](https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Converting%20_Memory%20_File_Stream/Exporting_Stream).
> You can find a complete sample on [GitHub]
(https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Converting%20_Memory%20_File_Stream/Exporting_Stream).

### Merging Two Excel Memory Streams

When merging two Excel memory streams and exporting the combined file as an Excel workbook, you can use the [Syncfusion.Blazor.XlslO](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core/) library to efficiently copy worksheets either between different workbooks or within the same workbook.
When merging two Excel memory streams and exporting the combined file as an Excel workbook, you can use the [Syncfusion.Blazor.XlsIO](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core/) library to efficiently copy worksheets either between different workbooks or within the same workbook.

The example below demonstrates how to merge two memory streams and export that merged memory stream for browser download.

Expand Down Expand Up @@ -1902,4 +1904,5 @@ public class OrderData
{% endhighlight %}
{% endtabs %}

> You can find a complete sample on [GitHub](https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Merging_Two_Excel_Memory%20_Streams/Exporting_Stream).
> You can find a complete sample on [GitHub]
(https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Merging_Two_Excel_Memory%20_Streams/Exporting_Stream).
19 changes: 12 additions & 7 deletions blazor/datagrid/pdf-export-options.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: PDF Export Options in Blazor DataGrid | Syncfusion
description: Checkout and learn here all about PDF Export Options in Syncfusion Blazor DataGrid and much more.
description: Checkout and learn here all about PDF Export Options in Syncfusion Blazor DataGrid and much more details.
platform: Blazor
control: DataGrid
documentation: ug
Expand Down Expand Up @@ -1055,7 +1055,8 @@ In the following example, the [Blazor Toggle Switch Button](https://blazor.syncf

![Enabling horizontal overflow](./images/Enabling-horizontal-overflow.gif)

> You can find a complete sample on [GitHub](https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Exporting-PDF-Datagrid/Horizontal_overflow).
> You can find a complete sample on [GitHub]
(https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Exporting-PDF-Datagrid/Horizontal_overflow).

## Customizing columns on export

Expand Down Expand Up @@ -1575,7 +1576,7 @@ In the following demo, the [DrawString](https://help.syncfusion.com/cr/document-
ExportProperties.BeginCellLayout = new PdfGridBeginCellLayoutEventHandler(BeginCellEvent);
ExportProperties.FileName = "test.pdf";
ExportProperties.IsRepeatHeader = true;
await this.DefaultGrid.PdfExport(ExportProperties);
await this.DefaultGrid.ExportToPdfAsync(ExportProperties);
}
}

Expand Down Expand Up @@ -1688,7 +1689,8 @@ public class OrderData

![PDF Exported Grid Cell Customization in Blazor DataGrid](./images/blazor-datagrid-pdf-exported-grid-cell-customization.png)

> You can find a complete sample on [GitHub](https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Exporting-PDF-Datagrid/Rotate_header).
> You can find a complete sample on [GitHub]
(https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Exporting-PDF-Datagrid/Rotate_header).

## Exporting Blazor DataGrid data as stream

Expand Down Expand Up @@ -1845,7 +1847,8 @@ public class OrderData
{% endhighlight %}
{% endtabs %}

> You can find a complete sample on [GitHub](https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Exporting-PDF-Datagrid/Blazor_Memory_Stream).
> You can find a complete sample on [GitHub]
(https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Exporting-PDF-Datagrid/Blazor_Memory_Stream).

### Converting memory stream to file stream for PDF export

Expand Down Expand Up @@ -1952,7 +1955,8 @@ The example below demonstrates how to achieve this by converting the memory stre
{% endhighlight %}
{% endtabs %}

> You can find a complete sample on [GitHub](https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Exporting-PDF-Datagrid/PDF_Converting_Memory_Stream).
> You can find a complete sample on [GitHub]
(https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Exporting-PDF-Datagrid/PDF_Converting_Memory_Stream).

### Merging two PDF memory streams

Expand Down Expand Up @@ -2100,4 +2104,5 @@ public class OrderData
{% endhighlight %}
{% endtabs %}

> You can find a complete sample on [GitHub](https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Exporting-PDF-Datagrid/Merging_Two_PDF_Memory_Stream).
> You can find a complete sample on [GitHub]
(https://github.com/SyncfusionExamples/exporting-blazor-datagrid/tree/master/Exporting-PDF-Datagrid/Merging_Two_PDF_Memory_Stream).