diff --git a/README.md b/README.md index 57b27c4..7cc8985 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,149 @@ # How-to-Serialize-template-column-content-in-.NET-MAUI-DataGrid--SfDataGrid- -This demo shows how to Serialize template column content in .NET MAUI DataGrid (SfDataGrid)? + +This sample shows how to serialize and deserialize template column content in the .NET MAUI DataGrid (SfDataGrid). + +The example demonstrates placing a `DataGridTemplateColumn` with a `CellTemplate` (defined in XAML resources), wiring a custom `DataGridSerializationController` to preserve template column configuration, and using simple Serialize/Deserialize buttons to write/read the grid state to an XML file in app data. + +**Refer to the official UG for more details:** + +- [Getting Started with .NET MAUI DataGrid](https://help.syncfusion.com/maui/datagrid/getting-started) +- [Serialization and Deserialization in .NET MAUI DataGrid (SfDataGrid)](https://help.syncfusion.com/maui/datagrid/serialization) + +## XAML + +The grid includes a `DataGridTemplateColumn` whose `CellTemplate` is stored in page resources with x:Key="cellTemplate". + +```xml + + + + + + + +