Skip to content

Commit 923e819

Browse files
Merge pull request #2 from SyncfusionExamples/MAUI-4838
How to add multiple views in a DataGridCell in MAUI DataGrid?
2 parents 36cf492 + ebd4ee5 commit 923e819

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

DataGridMAUI/DataGridMAUI.csproj

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks>
5-
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net6.0-windows10.0.19041.0</TargetFrameworks>
6-
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
7-
<!-- <TargetFrameworks>$(TargetFrameworks);net6.0-tizen</TargetFrameworks> -->
4+
<!-- Target frameworks for .NET 9 -->
5+
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
6+
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
7+
88
<OutputType>Exe</OutputType>
99
<RootNamespace>DataGridMAUI</RootNamespace>
1010
<UseMaui>true</UseMaui>
@@ -22,6 +22,7 @@
2222
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
2323
<ApplicationVersion>1</ApplicationVersion>
2424

25+
<!-- Platform version support -->
2526
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion>
2627
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion>
2728
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
@@ -44,12 +45,14 @@
4445
<!-- Custom Fonts -->
4546
<MauiFont Include="Resources\Fonts\*" />
4647

47-
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
48+
<!-- Raw Assets -->
4849
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
4950
</ItemGroup>
5051

5152
<ItemGroup>
52-
<PackageReference Include="Syncfusion.Maui.DataGrid" Version="20.4.51" />
53+
<!-- Ensure this version supports .NET 9 or upgrade to latest -->
54+
<PackageReference Include="Syncfusion.Maui.DataGrid" Version="*" />
55+
5356
</ItemGroup>
5457

5558
</Project>

DataGridMAUI/DataGridMAUI.csproj.user

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<IsFirstTimeProjectOpen>False</IsFirstTimeProjectOpen>
5-
<ActiveDebugFramework>net6.0-android</ActiveDebugFramework>
6-
<ActiveDebugProfile>Pixel 5 - API 31 (1) (Android 12.0 - API 31)</ActiveDebugProfile>
5+
<ActiveDebugFramework>net9.0-windows10.0.19041.0</ActiveDebugFramework>
6+
<ActiveDebugProfile>Windows Machine</ActiveDebugProfile>
77
<SelectedPlatformGroup>Emulator</SelectedPlatformGroup>
88
<DefaultDevice>pixel_5_-_api_31_1</DefaultDevice>
99
</PropertyGroup>
10+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net9.0-android|AnyCPU'">
11+
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
12+
</PropertyGroup>
1013
</Project>

0 commit comments

Comments
 (0)