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
5 Answers, 1 is accepted
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.
Maya
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
the scrollbars of the child grid were not shown. Setting MaxWith solves my problem.Thans for your support!
Michael
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.
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
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