Skip to content

Commit 3d0d3e5

Browse files
Addressed the concerns.
1 parent df105c0 commit 3d0d3e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

MAUI/DataGrid/Column-types.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ public class CustomCellTemplateSelector : DataTemplateSelector
225225

226226
<img alt="CellTemplate" src="Images\column-types\maui-datagrid-column-CellTemplateSelector.png" width="404"/>
227227

228-
#### Reuse DataTemplate for multiple columns.
228+
#### Reuse DataTemplate for multiple columns
229+
229230
To reuse a single `DataTemplate` across multiple columns, set the [DataGridColumn.SetCellBoundValue](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.DataGridColumn.html#Syncfusion_Maui_DataGrid_DataGridColumn_SetCellBoundValue) property to `true`. This changes the BindingContext to a helper object with `Value` (column's mapped value) and `Record` (original data object) properties.
230231

231232
{% tabs %}

0 commit comments

Comments
 (0)