Child grid FrozenColumnCount not working

19 posts, 0 answers
  1. David
    David avatar
    11 posts
    Member since:
    Nov 2010

    Posted 30 Nov 2010 Link to this post

    I have set the FrozenColumnCount both in the xaml and in code for a child grid and have not been successful in getting a response.  Any suggestions, thx.

    <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>
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 01 Dec 2010 Link to this post

    Hello David,



    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
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft banner
  4. David
    David avatar
    11 posts
    Member since:
    Nov 2010

    Posted 01 Dec 2010 Link to this post

    Vanya, thanks for your reply.  The problem occurs when you go to scroll the grid horizontally.  The parent grid's frozen columns do not scroll (as expected), however the child grid's frozen columns do. (Not desired).  I took a look at the project you referenced, and the same thing occurs.  Is there a way to freeze the columns in a child grid upon scrolling?  thx.
  5. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 02 Dec 2010 Link to this post

    Hi David,


    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
    Browse the videos here>> to help you get started with RadControls for Silverlight
  6. David
    David avatar
    11 posts
    Member since:
    Nov 2010

    Posted 02 Dec 2010 Link to this post

    Thanks for the reply.  Unfortunately, this behavior isn't what i am looking for.  I want the child grid 'pegged' to the parent grid (same amount of columns) and only one scrollbar.  I have been successful at programmatically controlling the width of the child grid columns, and resizing them when the parent resizes.  Is there a way to 'lock' a column in the child grid when the parent grid scrolls, or some sort of work around?  thanks for your help.
  7. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 06 Dec 2010 Link to this post

    Hi David,


    In this case it is better to use RadTreeListView rather than using RadGridView.


    Greetings,
    Vanya Pavlova
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  8. Selvakumar Savarimuthu
    Selvakumar Savarimuthu avatar
    23 posts
    Member since:
    Sep 2012

    Posted 05 Sep 2011 Link to this post

    Hi Vanya,

    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
  9. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 05 Sep 2011 Link to this post

    Hi Selvakumar,

     

    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!



    Regards,
    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 >>

  10. Selvakumar Savarimuthu
    Selvakumar Savarimuthu avatar
    23 posts
    Member since:
    Sep 2012

    Posted 13 Sep 2011 Link to this post

    Hi Vanya,

    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
  11. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 14 Sep 2011 Link to this post

    Hello Selvakumar,

    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.

     

    Kind regards,
    Maya
    the Telerik team

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

  12. Selvakumar Savarimuthu
    Selvakumar Savarimuthu avatar
    23 posts
    Member since:
    Sep 2012

    Posted 14 Sep 2011 Link to this post

    Hi Maya,

    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,
  13. Joshua
    Joshua avatar
    22 posts
    Member since:
    Sep 2010

    Posted 27 May 2014 Link to this post

    Hi Telerik Team,

    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
  14. Joshua
    Joshua avatar
    22 posts
    Member since:
    Sep 2010

    Posted 27 May 2014 in reply to Maya Link to this post

    Hi Telerik Team,

    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
  15. Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 29 May 2014 Link to this post

    Hi Josh,

    I am sending a sample project which demonstrates the approach that my colleague Maya suggested.

    I hope it helps.

    Regards,
    Yoan
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  16. Joshua
    Joshua avatar
    22 posts
    Member since:
    Sep 2010

    Posted 29 May 2014 in reply to Yoan Link to this post

    Hi Yoan,

    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
  17. Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 30 May 2014 Link to this post

    Hello Josh,

    Unfortunately, the approach shown in the example is the closest we can offer.

    Regards,
    Yoan
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  18. Joshua
    Joshua avatar
    22 posts
    Member since:
    Sep 2010

    Posted 02 Jun 2014 in reply to Yoan Link to this post

    Thanks Yoan,

    When are guys going to integrate this functionality into GridView?

    Thanks,
    Rajesh
  19. Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 04 Jun 2014 Link to this post

    Hello Rajesh,

    Thank you for the feedback.

    We will research the current possibilities for achieving this functionality.

    Regards,
    Yoan
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  20. David
    David avatar
    4 posts
    Member since:
    Sep 2014

    Posted 24 May in reply to Yoan Link to this post

    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

Back to Top
DevCraft banner