This is a migrated thread and some comments may be shown as answers.

How to resize grid height with scrolling on window/container resize?

4 Answers 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Magnus
Top achievements
Rank 2
Magnus asked on 27 Oct 2016, 12:28 PM
I have problems how to setup a gridview to resize it's height with scrolling bars when resizing the outher container.

It looks like the treeview controller works fine and is adjusting it owns height and scrolling, but I want the same behavior on the gridview, to adjust the height of the container dynamicly when resizing the parent window.
In this case I have a Lightswitch-application and the gridview is a custom control on a screen.

Is this possible?

4 Answers, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 28 Oct 2016, 10:24 AM
Hello MrKlapp,

Unfortunately, I could not quite understand what the exact issue is from your last post. Both RadGridView and RadTreeView seem to be behaving identically at my end when resizing the parent window.

Could you please specify what the difference is between the two controls, possibly by providing some images or video footage of the expected and actual results?

Thank you in advance for your cooperation on the matter.

Regards,
Dilyan Traykov
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Magnus
Top achievements
Rank 2
answered on 28 Oct 2016, 10:34 AM

Hi

Look at the scrollbars at the attached image and you can see that the treeview has a scrolling bottom, but the grid scrollingarea is far further down.

0
Accepted
Dilyan Traykov
Telerik team
answered on 28 Oct 2016, 10:57 AM
Hello MrKlapp,

I'm attaching a sample project to demonstrate the result I get at my end when comparing the two controls.

Could you please have a look at it and let me know how it differs from your setup? Providing some code snippets of the XAML code you've used for your layout would definitely be of help.

I will be awaiting your reply.

Regards,
Dilyan Traykov
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Magnus
Top achievements
Rank 2
answered on 28 Oct 2016, 11:14 AM

Thanks, that helped

I did some cleanup, and now it works fine

Tags
GridView
Asked by
Magnus
Top achievements
Rank 2
Answers by
Dilyan Traykov
Telerik team
Magnus
Top achievements
Rank 2
Share this question
or