Replies: 1 comment
-
Thanks for the report. This was an oversight when porting the DataGrid. We'll be publishing an update which fixes this issue but in the meantime, you can use the following, in your #if HAS_UNO
CommunityToolkit.WinUI.UI.Controls.DataGridFeatureConfiguation.EnableInvalidateMeasureInMeasureOverride = true;
#endif |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need to build an app that can also run on Win 7,so I choose skia.wpf.
I need to use the datagrid so I followed
At first I tried both
Uno.CommunityToolkit.WinUI.UI.Controls
and the one without Uno prefix seperately.
Neither of them could compile.
So I follow the tutorial and add conditional referrence.It compiled succeccessfully.
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'"> <PackageReference Include="CommunityToolkit.WinUI.UI.Controls" Version="7.1.2" /> </ItemGroup> <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) != 'windows'"> <PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Controls" Version="7.1.100" /> </ItemGroup>
Then a error console pops up

and the column headers can't be dragged to adjust like in UWP apps.
How do I fix this?
Beta Was this translation helpful? Give feedback.
All reactions