Skip to content

Commit e54f270

Browse files
Merge pull request #4 from SyncfusionExamples/private
How to add button column in MAUI DataGrid (SfDataGrid)?
2 parents df3e982 + 63b4d77 commit e54f270

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

DataGridMAUI/DataGridMAUI/DataGridMAUI.csproj

Lines changed: 4 additions & 4 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>
4+
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
5+
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
66
<!-- 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> -->
7+
<!-- <TargetFrameworks>$(TargetFrameworks);net9.0-tizen</TargetFrameworks> -->
88
<OutputType>Exe</OutputType>
99
<RootNamespace>DataGridMAUI</RootNamespace>
1010
<UseMaui>true</UseMaui>
@@ -49,7 +49,7 @@
4949
</ItemGroup>
5050

5151
<ItemGroup>
52-
<PackageReference Include="Syncfusion.Maui.DataGrid" Version="20.3.59" />
52+
<PackageReference Include="Syncfusion.Maui.DataGrid" Version="*" />
5353
</ItemGroup>
5454

5555
</Project>
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<ActiveDebugFramework>net6.0-windows10.0.19041.0</ActiveDebugFramework>
4+
<ActiveDebugFramework>net9.0-windows10.0.19041.0</ActiveDebugFramework>
55
<IsFirstTimeProjectOpen>False</IsFirstTimeProjectOpen>
66
<ActiveDebugProfile>Windows Machine</ActiveDebugProfile>
7+
<SelectedPlatformGroup>Emulator</SelectedPlatformGroup>
8+
<DefaultDevice>pixel_5_-_api_28</DefaultDevice>
9+
</PropertyGroup>
10+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net9.0-android|AnyCPU'">
11+
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
712
</PropertyGroup>
813
</Project>

DataGridMAUI/DataGridMAUI/MauiProgram.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Syncfusion.Maui.Core.Hosting;
2-
using Syncfusion.Maui.DataGrid.Hosting;
32

43
namespace DataGridMAUI;
54

@@ -16,7 +15,6 @@ public static MauiApp CreateMauiApp()
1615
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
1716
});
1817
builder.ConfigureSyncfusionCore();
19-
builder.ConfigureSyncfusionDataGrid();
2018
return builder.Build();
2119
}
2220
}

0 commit comments

Comments
 (0)