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
2 changes: 1 addition & 1 deletion WindowsForms/Calculation-Engine/Working-with-ICalcData.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,4 @@ public class CustomGrid : DataGrid,ICalcData
A sample that demonstrates using custom control with CalcEngine is available [here](https://github.com/SyncfusionExamples/how-to-use-custom-control-with-calcengine-)

N> To support cross-references among several `ICalcData` objects, you must register the objects with a single instance of the `CalcEngine`.
For more reference, refer [here](https://help.syncfusion.com/windowsforms/calculate/getting-started#cross-sheet-reference).
For more reference, refer [here](https://help.syncfusion.com/windowsforms/calculation-engine/getting-started#cross-sheet-reference).
16 changes: 8 additions & 8 deletions WindowsForms/DataGrid/ExportToExcel.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ workBook.SaveAs("Sample.xlsx")
{% endhighlight %}
{% endtabs %}

N> SfDataGrid exports data to excel by using `XlsIO`. You can refer[XlsIO documentation](https://help.syncfusion.com/file-formats/xlsio/working-with-excel-worksheet) for manipulating exported work sheets.
N> SfDataGrid exports data to excel by using `XlsIO`. You can refer[XlsIO documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-excel-worksheet) for manipulating exported work sheets.

## Exporting Options
By default, actual value only will be exported to excel. This can be changed to export the display text by setting the [ExportMode](https://help.syncfusion.com/cr/windowsforms/Syncfusion.WinForms.DataGridConverter.ExcelExportingOptions.html#Syncfusion_WinForms_DataGridConverter_ExcelExportingOptions_ExportMode) property as `Text`.
Expand Down Expand Up @@ -233,7 +233,7 @@ workBook.SaveAs(fileStream)
{% endhighlight %}
{% endtabs %}

Refer to the [XlsIO documentation](https://help.syncfusion.com/file-formats/xlsio/faq) for further reference.
Refer to the [XlsIO documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/faq) for further reference.

### Save Using File Dialog
After exporting the SfDataGrid to excel, the exported workbook can be saved by opening the [FileDialog](https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.filedialog?view=windowsdesktop-7.0&viewFallbackFrom=net-5.0).
Expand Down Expand Up @@ -334,7 +334,7 @@ workBook.SaveAs("Sample.xlsx")
![Windows forms datagrid displays exported the selected item into excel](ExportToExcel_images/ExportToExcel_img3.jpeg)

## Export to HTML
The exported workbook can be saved as HTML by using [SaveAsHtml](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IWorkbook.html#Syncfusion_XlsIO_IWorkbook_SaveAsHtml_System_IO_Stream_) method.
The exported workbook can be saved as HTML by using [SaveAsHtml](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorkbook.html#Syncfusion_XlsIO_IWorkbook_SaveAsHtml_System_IO_Stream_) method.

{% tabs %}
{% highlight c# %}
Expand All @@ -353,7 +353,7 @@ workBook.SaveAsHtml("Sample.html", HtmlSaveOptions.Default)
{% endhighlight %}
{% endtabs %}

It is also possible to save worksheet as HTML by using [SaveAsHtml](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IWorkbook.html#Syncfusion_XlsIO_IWorkbook_SaveAsHtml_System_IO_Stream_) method. Also refer the[XlsIO documentation](https://help.syncfusion.com/file-formats/xlsio/working-with-excel-worksheet#save-worksheet-as-html) for this.
It is also possible to save worksheet as HTML by using [SaveAsHtml](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorkbook.html#Syncfusion_XlsIO_IWorkbook_SaveAsHtml_System_IO_Stream_) method. Also refer the[XlsIO documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-excel-worksheet#save-worksheet-as-html) for this.

## Export to Mail
The SfDataGrid can be exported to mail by converting it into Excel and save exported worksheet as HTML. Then exported HTML contents is embedded in mail body.
Expand Down Expand Up @@ -806,7 +806,7 @@ End Sub
![Windows forms datagrid displays applied border color of the cell when exporting to excel](ExportToExcel_images/ExportToExcel_img12.jpg)

## Customize Exported Workbook and Worksheet
SfDataGrid exports to excel by using [XlsIO](https://help.syncfusion.com/file-formats/xlsio/overview). The [XlsIO documentation](https://help.syncfusion.com/file-formats/xlsio/working-with-excel-worksheet) can also referred for manipulating workbook and sheet after exporting.
SfDataGrid exports to excel by using [XlsIO](https://help.syncfusion.com/document-processing/excel/excel-library/net/overview). The [XlsIO documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-excel-worksheet) can also referred for manipulating workbook and sheet after exporting.

### Workbook
SfDataGrid provides option to return ExcelEngine for getting the exported workbook. This allows to protect, encrypt and add worksheet before saving.
Expand Down Expand Up @@ -848,7 +848,7 @@ workBook.SaveAs("Sample.xlsx")
{% endhighlight %}
{% endtabs %}

Before saving workbook, set the specific excel version by using [IWorkbook.Version](https://help.syncfusion.com/cr/windowsforms/Syncfusion.XlsIO.IWorkbook.html#Syncfusion_XlsIO_IWorkbook_Version) property. Here, you can directly manipulate the data in the worksheet. Also, refer[here](https://help.syncfusion.com/file-formats/xlsio/worksheet-rows-and-columns-manipulation) for more information about the worksheet customization.
Before saving workbook, set the specific excel version by using [IWorkbook.Version](https://help.syncfusion.com/cr/windowsforms/Syncfusion.XlsIO.IWorkbook.html#Syncfusion_XlsIO_IWorkbook_Version) property. Here, you can directly manipulate the data in the worksheet. Also, refer[here](https://help.syncfusion.com/document-processing/excel/excel-library/net/worksheet-rows-and-columns-manipulation) for more information about the worksheet customization.

#### Setting Borders
The borders of the excel cells can be set by directly accessing worksheet after exporting data.
Expand Down Expand Up @@ -920,7 +920,7 @@ workBook.SaveAs("Sample.xlsx")
{% endhighlight %}
{% endtabs %}

Also refer the [XlsIO document](https://help.syncfusion.com/file-formats/xlsio/worksheet-cells-manipulation#data-filtering) for more customization about the filtering.
Also refer the [XlsIO document](https://help.syncfusion.com/document-processing/excel/excel-library/net/worksheet-cells-manipulation#data-filtering) for more customization about the filtering.

## Customizing the Range of Cells
The range of cells of the exported worksheet can be customized by directly manipulating worksheet.
Expand Down Expand Up @@ -1065,7 +1065,7 @@ workBook.SaveAs("Sample.xlsx")

![Windows forms datagrid displays applied colors based on row index using conditional format](ExportToExcel_images/ExportToExcel_img11.jpeg)

Refer the [XlsIO document](https://help.syncfusion.com/file-formats/xlsio/working-with-conditional-formatting) for the conditional customization.
Refer the [XlsIO document](https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-conditional-formatting) for the conditional customization.

## See also

Expand Down
8 changes: 4 additions & 4 deletions WindowsForms/Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,25 +214,25 @@ background-color:transparent!important;
</tr>
<tr>
<td id="title">DIALOGS AND NOTIFICATION </td>
<td> <a id="anchor" href="https://help.syncfusion.com/file-formats/xlsio/getting-started-create-excel-file-csharp-vbnet">Excel</a> </td>
<td> <a id="anchor" href="https://help.syncfusion.com/document-processing/excel/excel-library/net/create-excel-file-csharp-vbnet">Excel</a> </td>
<td id="title">BUTTONS </td>
<td></td>
</tr>
<tr>
<td> <a id="anchor" href="https://help.syncfusion.com/windowsforms/form/getting-started">Form</a> </td>
<td> <a id="anchor" href="https://help.syncfusion.com/file-formats/pdf/getting-started">PDF</a> </td>
<td> <a id="anchor" href="https://help.syncfusion.com/document-processing/pdf/pdf-library/net/overview">PDF</a> </td>
<td> <a id="anchor" href="https://help.syncfusion.com/windowsforms/button/getting-started">Button</a> </td>
<td id="title">DATA SCIENCE </td>
</tr>
<tr>
<td> <a id="anchor" href="https://help.syncfusion.com/windowsforms/tabbed-form/getting-started">Tabbed Form</a> </td>
<td> <a id="anchor" href="https://help.syncfusion.com/file-formats/presentation/getting-started">PowerPoint</a> </td>
<td> <a id="anchor" href="https://help.syncfusion.com/document-processing/powerpoint/powerpoint-library/net/getting-started">PowerPoint</a> </td>
<td> <a id="anchor" href="https://help.syncfusion.com/windowsforms/buttonedit/getting-started">ButtonEdit</a> </td>
<td> <a id="anchor" href="https://help.syncfusion.com/predictive-analytics/pmml-execution-engine/overview">Predictive Analytics</a></td>
</tr>
<tr>
<td> <a id="anchor" href="https://help.syncfusion.com/windowsforms/hub-tile/getting-started">Hub Tile</a> </td>
<td> <a id="anchor" href="https://help.syncfusion.com/file-formats/docio/getting-started">Word</a> </td>
<td> <a id="anchor" href="https://help.syncfusion.com/document-processing/word/word-library/net/getting-started">Word</a> </td>
<td> <a id="anchor" href="https://help.syncfusion.com/windowsforms/split-button/getting-started">SplitButton</a> </td>
<td></td>
</tr>
Expand Down