<
telerik:RadGridView.HierarchyChildTemplate
>
<
DataTemplate
>
<
telerik:RadGridView
AutoGenerateColumns
=
"False"
BeginningEdit
=
"grdPlanningChild_BeginningEdit"
CanUserFreezeColumns
=
"False"
FrozenColumnCount
=
"5"
IsFilteringAllowed
=
"False"
ItemsSource
=
"{Binding SCO_HierarchyPlanLineDetail}"
Name
=
"grdPlanningChild"
ShowColumnHeaders
=
"False"
ShowGroupPanel
=
"False"
>
<
telerik:RadGridView.Columns
>
18 Answers, 1 is accepted
From the xaml mark-up provided I see that you set the RadGridView's property CanUserFreezeColumns to False and in this way you could not be able to freeze any column in your RadGridView.
Please check the attached project for reference.
If you need any further assistance please let me know.
Greetings,
Vanya Pavlova
the Telerik team
In my previous example I did not specify Width and Height properties for the RadGridView that resides in a HierarchyChildDataTemplate and you will not get scrollbars. I have updated the example and added a frozen columns to the parent grid and everything works fine on my side.
Please check the attached project and let me know if you need any further assistance.
Kind regards,
Vanya Pavlova
the Telerik team
In this case it is better to use RadTreeListView rather than using RadGridView.
Greetings,
Vanya Pavlova
the Telerik team
Why can't we achieve the same functionality in the grid view. The locking of the child and the parent grid for the frozen column is desired in many functionalities. Using the RadTreeListView does not give the desired UI.
Thanks,
Prasanna R
With the current version and implementation of RadGridView it is not possible to achieve this result. By that reason I proposed to use the RadTreeListView component instead. Regarding the mentioned inconsistency in RadTreeListView's UI we are aware of this issue and it has been already logged in our PITS System. You may track its progress under PITS item (ID=5237). I would encourage you to vote for this particular request here so that its rating gets higher so at its priority when we consider our future development plans.
Please excuse us for any inconvenience caused!
Vanya Pavlova
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
We want to use only the gridview. We do not want a UI to represent the grid data like how the TreeListView control displays.
Can we have the feature/Fix in the GridView control please?
Thanks
Generally, the expected behavior is that if you scroll the parent grid, the child grid will also be scrolled and its frozen columns will be scrolled as well. If you want to synchronize the scrolling, 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 >>
We have already seen this post and done the analysis. If it is between 2 separate grids, it seems to work fine. But not in the case of hierarchical grids.
There are lot of flickering and not to the expectations. It would be better to have this fixed as part of the grid view control.
Thanks,
Did you guys achieved the above functionality(Child grid FrozenColumnCount not working)? if so can you please let me know. we are in need of this functionality.
Thanks,
Josh
Did you guys achieved the above functionality(Child grid FrozenColumnCount not working)? if so can you please let me know. we are in need of this functionality.
Thanks,
Josh
I am sending a sample project which demonstrates the approach that my colleague Maya suggested.
I hope it helps.
Regards,
Yoan
Telerik
Thanks for your reply. we are having 104 columns in which we set 12 columns to frozen. Horizontal scrolling is not smooth. I see glitches when i am trying to scroll horizontally. Is there way to get the smooth scrolling?
Thanks,
Josh
Unfortunately, the approach shown in the example is the closest we can offer.
Regards,
Yoan
Telerik
When are guys going to integrate this functionality into GridView?
Thanks,
Rajesh
Thank you for the feedback.
We will research the current possibilities for achieving this functionality.
Regards,
Yoan
Telerik
Hi
Has there been any progress on this feature? I too have a hierarchical grid (using in that I need to have frozen columns.. I'm using wpf and would like the closest sample project / thread for wpf that that you have to assist me. I'm not sure how I should be syncing the scroll offset to get it working - it looks a complete jumble.
Thanks
David