Can't get grid columns to autosize to fill the space in the window.

0 Answers 8 Views
GridView
Paul
Top achievements
Rank 2
Iron
Iron
Iron
Paul asked on 02 May 2024, 02:01 PM


<telerik:RadGridView.Columns>
    <telerik:GridViewDataColumn DataMemberBinding="{Binding Filename, Mode=OneWay}"
                                Width="*" />

I want my grid to resize to fill the available space if the user makes the window bigger.

The above does not do anything unless I set the parent grid width to "Auto"
Then it expands the grid to the entire screen, instead of just the Window.
(I find it extremely frustrating that the window auto expands)

What am I missing in order to get what I'm looking for?

Stenly
Telerik team
commented on 03 May 2024, 01:27 PM

Could you share a bit more information about the setup on your end? For example, a bit of XAML code, as well as some images that showcase the unwanted behavior.

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Paul
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or