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

5 posts, 1 answers
  1. MrKlapp
    MrKlapp avatar
    7 posts
    Member since:
    Mar 2013

    Posted 27 Oct Link to this post

    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?
  2. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    371 posts

    Posted 28 Oct Link to this post

    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.
  3. DevCraft banner
  4. MrKlapp
    MrKlapp avatar
    7 posts
    Member since:
    Mar 2013

    Posted 28 Oct in reply to Dilyan Traykov Link to this post

    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.

  5. Answer
    Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    371 posts

    Posted 28 Oct Link to this post

    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.
  6. MrKlapp
    MrKlapp avatar
    7 posts
    Member since:
    Mar 2013

    Posted 28 Oct in reply to Dilyan Traykov Link to this post

    Thanks, that helped

    I did some cleanup, and now it works fine

Back to Top
DevCraft banner