Skip to content

Commit 05d0537

Browse files
committed
image compressed
1 parent a8f040d commit 05d0537

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
-85.4 KB
Loading

MAUI/DataGrid/export-to-pdf.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ private void PdfExport_CellExporting(object sender, DataGridCellPdfExportingEven
11461146

11471147
<img alt="Export DataGrid to PDF format with customized cell style" src="Images\export-to-pdf\maui-datagrid-style-based-on-column-name.png" width="689"/>
11481148

1149-
### Exporting DetailsView
1149+
## Exporting DetailsView
11501150

11511151
By default, [DetailsViewDataGrid](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.DetailsViewDataGrid.html) will not be exported to PDF. You can export `DetailsViewDataGrid` by setting `CanExportDetailsView` property as true.
11521152

@@ -1185,7 +1185,7 @@ You can customize its exporting operation by using `DataGridChildPdfExportingEve
11851185

11861186
N> While exporting DetailsViewDataGrid, `CanFitAllColumnInOnePage` is set to true internally as horizontal pagination is not supported for DetailsViewDataGrid.
11871187

1188-
## Excluding DetailsViewDataGrid while exporting
1188+
### Excluding DetailsViewDataGrid while exporting
11891189

11901190
You can exclude particular DetailsViewDataGrid while exporting, by using the `DataGridChildPdfExportingEventArgs.Cancel`.
11911191

@@ -1216,7 +1216,7 @@ private void PdfExport_DataGridChildPdfExporting(object? sender, DataGridChildPd
12161216

12171217
Here, `DetailsViewDataGrid` is not exported for the parent record having OrderID as 1002.
12181218

1219-
## Customizing DetailsViewDataGrid cells
1219+
### Customizing DetailsViewDataGrid cells
12201220

12211221
Similar to the parent DataGrid, you can also customize the cells of the DetailsViewDataGrid by using the DataGridCellPdfExportingEventArgs. By utilizing the `DataGridCellPdfExportingEventArgs.DetailsViewDefinition` property, you can identify the specific DetailsViewDataGrid and customize it accordingly.
12221222

0 commit comments

Comments
 (0)