WinUI-Gallery icon indicating copy to clipboard operation
WinUI-Gallery copied to clipboard

Winui 3 datagrid Row height is not working when we resize column

Open chiragpandya04 opened this issue 7 months ago • 0 comments

Issue type

sample request

Which version of the app?

WinUI 3 Gallery

Description

When we have set Wrap data for any column and if user resize (shrink) column and then expand column. data grid is not refreshing its height based on content. hence so many blank spaces. Please refer my both snapshots.

ctWinUI:DataGrid.Resources <Style TargetType="TextBlock" x:Key="WrapText"> <Setter Property="TextWrapping" Value="Wrap"/> </Style> </ctWinUI:DataGrid.Resources>

<ctWinUI:DataGridTextColumn Header="Parent Mountain" Binding="{Binding Parent_mountain}" ElementStyle="{StaticResource WrapText}" Tag="Parent_mountain" />

Screenshots

image

image

Windows version

No response

Additional context

No response

chiragpandya04 avatar Jan 15 '24 19:01 chiragpandya04