You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. Finally, you must add the custom column to the [SfDataGrid.Columns](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.SfDataGrid.html#Syncfusion_Maui_DataGrid_SfDataGrid_Columns) collection and its renderer in the [SfDataGrid.CellRenderers](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.SfDataGrid.html#Syncfusion_Maui_DataGrid_SfDataGrid_CellRenderers) collection.
11
11
12
-
>Note:
13
-
>**D- type of the view that should be placed inside cells in display mode.*
14
-
>**E- type of the view that should be placed inside cells in edit mode.*
15
-
16
12
For example, refer the below example in which a custom column is created for loading a Stepper control in the grid columns. A custom renderer class is written to load Stepper control as display.
17
13
14
+
## XAML
15
+
```XAML
16
+
<syncfusion:SfDataGridx:Name="dataGrid"
17
+
ItemsSource="{Binding Employees}"
18
+
ColumnWidthMode="Auto"
19
+
AutoGenerateColumnsMode="None">
20
+
<syncfusion:SfDataGrid.Columns>
21
+
<local:StepperColumnMappingName="OrderID"/>
22
+
</syncfusion:SfDataGrid.Columns>
23
+
</syncfusion:SfDataGrid>
24
+
25
+
```
26
+
18
27
## C#
19
28
### Creating Stepper Column
20
29
```C#
@@ -46,28 +55,18 @@ public class StepperColumnRenderer : DataGridCellRenderer<Stepper, Stepper>

70
67
## Conclusion
68
+
I hope you enjoyed learning about how to create custom DataGridColumn in MAUI DataGrid (SfDataGrid).
69
+
71
70
You can refer to our [.NET MAUI DataGrid’s feature tour](https://www.syncfusion.com/maui-controls/maui-datagrid) page to know about its other groundbreaking feature representations. You can also explore our .NET MAUI DataGrid Documentation to understand how to present and manipulate data.
72
71
For current customers, you can check out our .NET MAUI components from the [License and Downloads](https://www.syncfusion.com/account/downloads) page. If you are new to Syncfusion, you can try our 30-day free trial to check out our .NET MAUI DataGrid and other .NET MAUI components.
73
72
If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our [support forums](https://www.syncfusion.com/forums), [Direct-Trac](https://support.syncfusion.com/account/login?ReturnUrl=%2Faccount%2Fconnect%2Fauthorize%2Fcallback%3Fclient_id%3Dc54e52f3eb3cde0c3f20474f1bc179ed%26redirect_uri%3Dhttps%253A%252F%252Fsupport.syncfusion.com%252Fagent%252Flogincallback%26response_type%3Dcode%26scope%3Dopenid%2520profile%2520agent.api%2520integration.api%2520offline_access%2520kb.api%26state%3D8db41f98953a4d9ba40407b150ad4cf2%26code_challenge%3DvwHoT64z2h21eP_A9g7JWtr3vp3iPrvSjfh5hN5C7IE%26code_challenge_method%3DS256%26response_mode%3Dquery) or [feedback portal](https://www.syncfusion.com/feedback/maui?control=sfdatagrid). We are always happy to assist you!
0 commit comments