Hierarchical GridView: FrozenColumnCount

6 posts, 1 answers
  1. Michael Storchmann
    Michael Storchmann avatar
    15 posts
    Member since:
    Nov 2009

    Posted 20 Oct 2011 Link to this post

    Hi,

    how can I prevent a childgridview from horizontal scrolling (the first two Columns)? I´d set the FrozenColumnCount-Property to 2 but it don´t worked, the entire childgridview is scrolling.

    Bye, Michael
  2. Answer
    Maya
    Admin
    Maya avatar
    4062 posts

    Posted 20 Oct 2011 Link to this post

    Hi Michael Storchmann,

    The frozen columns for the child grid will be "frozen" only when scrolling with its own scroll bars. Scrolling the parent grid will scroll the child one (together with its frozen columns) as well. This behavior is expected and is by design.
    What you could try is to synchronize the scrolling of the parent and child grids. So, you can set a width for the child grid so that it has a scroll viewer and synchronize the two scroll viewers. You may refer to this forum thread for a reference.

    Best wishes,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Michael Storchmann
    Michael Storchmann avatar
    15 posts
    Member since:
    Nov 2009

    Posted 20 Oct 2011 Link to this post

    Hi Maya,

    the scrollbars of the child grid were not shown. Setting MaxWith solves my problem.Thans for your support!

    Michael
  5. David
    David avatar
    4 posts
    Member since:
    Sep 2014

    Posted 24 May Link to this post

    Hi

    I have a hierarchical grid in WPF and would like a WPF sample project that shows frozen columns working for a Hierarchcial Grid (that uses ChildTableDefinition).

     

    Can you please post one for me? I don't want a SL one - I need a WPF project - thanks.

  6. Martin Vatev
    Admin
    Martin Vatev avatar
    89 posts

    Posted 26 May Link to this post

    Hi David,

    I've already answered in your other thread you opened regarding this topic. As described there, the desired behavior can be easily achieved if instead of using Hierarchical Grid, RowDetails are used.
    Attached you can find an example which I prepared to demonstrate what I have in mind.

    I hope this helps.

    Regards,
    Martin Vatev
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  7. David
    David avatar
    4 posts
    Member since:
    Sep 2014

    Posted 26 May in reply to Martin Vatev Link to this post

    Hi

    I appreciate the response but I need the grid to allow me to create RowDetials template for n tiers at run time.

    In my case I have n tiers only known at run time - Hierarchical Grid allows me to achieve this but has a floor in that I cant Freeze nested details.   You suggested that I use RowDetaislTemplate as it allows me to FeezeRowDetails - but it has a floor in that you say it does not support n tiers at runtime. I'm sure this can be done but I need a sample project from yourself to demonstrate how to do it.

    It's a classic requirement to have a nest grid (n levels deep with the same columns built at run time) and have the far left grouping column freeze property on all grids - IN A GRID not a tree list -  3rd party Vendors were providing this functionality in VB6/Winforms 10- years ago - I find it difficult to see why this functionality has regressed. Whatever the solution - can you please give it your best shot and provide me with a working project that satisfies (to your best ability) my requirement - Many Thanks in advance.

    I really do appreciate any proposal  and I will try and work with it..

     

    Thanks

    David

    David

     

     

Back to Top
UI for WPF is Visual Studio 2017 Ready