last row of gridview sometimes is like chopped

18 posts, 0 answers
  1. saosin
    saosin avatar
    2 posts
    Member since:
    Feb 2011

    Posted 24 Jul 2011 Link to this post

    Hi!

    I recently upgraded to the Q2 version and I noticed a problem with the gridview, sometimes the last row is not completely visible including the row details. In the previous version it didn't happen.
    Here's the code of the gridview
    <telerik:RadGridView ItemsSource="{Binding PagedSource,ElementName=flightPager}" SelectionMode="Single" IsReadOnly="True"
                                             ScrollMode="RealTime" ScrollViewer.CanContentScroll="True" AutoGenerateColumns="False" 
                                             RowDetailsVisibilityMode="VisibleWhenSelected"
                                             HorizontalAlignment="Left" ScrollViewer.HorizontalScrollBarVisibility="Auto" x:Name="GridItinerary"
                                             ScrollViewer.VerticalScrollBarVisibility="Auto"  MaxHeight="600">

    Here are two images that show the problem:
    row details chopped

    last row chopped

    Thanks in advance.
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 28 Jul 2011 Link to this post

    Hi Saosin,

    I have tried to reproduce the issue you reported, but unfortunately without any success. May you take a look at the sample project to verify whether I am missing something ? Are there any additional steps that I need to follow in order to get the same behavior ? Do you define the RadGridView in another control ?
     

    All the best,
    Maya
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. UI for WPF is Visual Studio 2017 Ready
  4. Adam Marshall
    Adam Marshall avatar
    46 posts
    Member since:
    Nov 2009

    Posted 31 Jul 2011 Link to this post

    Hi saosin,

    I have also found this issue sometimes, but with previous versions too.
    Resizing the window and scrolling down would eventually show the hidden row.

    I found that I had to set the UseLayoutRounding property on the RadGridView to False.

    Hope that helps.

    Adam
  5. saosin
    saosin avatar
    2 posts
    Member since:
    Feb 2011

    Posted 01 Aug 2011 Link to this post

    Hi!
    Thanks for the replies Maya and Adam.

    I also tried to create a sample project to reproduce the problem but I couldn't, like I said just sometimes the last row was chopped so it's strange. Recently, I had to add a column with an image so it automatically make the row height larger and I haven't experienced the problem again. Btw, the gridview is not defined in another control.

    Thanks
  6. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 02 Aug 2011 Link to this post

    Hello Jesus and Adam,

    I have tested the case with setting UseLayoutRounding property to false, but again I was not able to get the behavior with cut rows. Is there anything more specific that I need to do ? 
    Generally, we did have similar issues, but they are already fixed. 
    Jesus,  I am glad that the issue got resolved. Still, if you continue to experience the same behavior, please let me know. 

     

    Greetings,
    Maya
    the Telerik team

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

  7. Lukasz
    Lukasz avatar
    1 posts
    Member since:
    Jun 2011

    Posted 27 Oct 2011 Link to this post

    I had the same problem, but after much testing of different options that I noticed when I set the property rowHeight in my case, at 30, everything is ok.

    I suspect that this is the problem of calculating the dimensions of individual controls, in my case RadGridView was in the middle other containers such as Grid, Border and UserControl inside ContentControl each have a width and height property set to Auto

    I'm using Prism v4 and MVVM


    I hope this helps.
  8. Sebastian
    Sebastian avatar
    12 posts
    Member since:
    Oct 2010

    Posted 26 Apr 2012 Link to this post

    I just had the last two to three lines invisible. Also, selecting them via arrow keys caused the processor to go into overdrive and nothing else. What causes it in my case is this:

    The FontSize of my RadGridView is bound to a property of my view model and can be changed dynamically. Changing it affects the RowHeight.
    I do set the RowHeight in Xaml anyway even though that only acts as a minimum because not doing that caused major performance issues with the scroll bar and also tended to hide last rows. I suppose having at least an estimate of the row height helps the scroll logic.

    Changing the FontSize can now hide anything between 0 and 2 last rows. Seemingly random, but I suppose it has to do with the numerics of integer numbers.
  9. Calvin
    Calvin avatar
    42 posts
    Member since:
    Jul 2011

    Posted 05 Jun 2012 Link to this post

    I also observe this behavior: the last record in my GridView usually is truncated and doesn't display fully.

    The UI structure is simple:

    <Window>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <telerik:RadMenu Grid.Row="0">...</telerik:RadMenu>
            <Grid Grid.Row="1">
                <Image ... />
                <telerik:RadDataFilter ... />
            </Grid>
            <telerik:RadGridView Grid.Row="2">...</telerik:RadGridView>
        </Grid>
    </Window>

  10. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 06 Jun 2012 Link to this post

    Hi,

     Can you post more info about your grid version? 

    All the best,
    Vlad
    the Telerik team

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

  11. Calvin
    Calvin avatar
    42 posts
    Member since:
    Jul 2011

    Posted 06 Jun 2012 Link to this post

    Sure Vlad, I'm running 2012.1.326.40.
  12. Vera
    Admin
    Vera avatar
    263 posts

    Posted 06 Jun 2012 Link to this post

    Hello Calvin,

     
    This issue has been resolved and the fix for it will be available with our Q2 2012 expected next week. 

    All the best,
    Vera
    the Telerik team

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

  13. Gre
    Gre avatar
    2 posts
    Member since:
    Apr 2012

    Posted 15 Aug 2012 Link to this post

    Hello Vera, 

    Any updates on this issue? We are also currently experiencing this with RadTreeListView, will the fix be applicable to both controls?

    Thanks!
  14. Vera
    Admin
    Vera avatar
    263 posts

    Posted 15 Aug 2012 Link to this post

    Hello Grew,

     
    May I ask you to clarify the version of the Telerik controls you are using? Have you tried our Q2 2012 SP?

    Kind regards,
    Vera
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  15. Gre
    Gre avatar
    2 posts
    Member since:
    Apr 2012

    Posted 16 Aug 2012 Link to this post

    Hi Vera,

    We tried to update to Q2 2012 SP just today and found that the same issue for RadTreeListView has also been resolved.

    Thanks!

    Best regards,
    Grew
  16. Robert Mujica
    Robert Mujica avatar
    1 posts
    Member since:
    Mar 2010

    Posted 31 Oct 2012 Link to this post

    Does the fix for "Q2 2012" will include a fix for Telerik.Web.UI RadGrid Control, i have similar issue buit only for IE6 and IE7. I have height set to auto.

    Regards
    Robert
  17. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 31 Oct 2012 Link to this post

    Hello,

     This thread is for WPF. Telerik.Web.UI RadGrid Control is part of RadControls for ASP.NET AJAX. 

    All the best,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  18. Alex
    Alex avatar
    1 posts
    Member since:
    Jan 2015

    Posted 28 Jan 2015 Link to this post

    I'm seeing this problem in "Q3 2014". Has there been a regression of this bug ? I've also tried the UseLayoutRounding="False" workaround and it doesn't fix the problem.
  19. Vera
    Admin
    Vera avatar
    263 posts

    Posted 29 Jan 2015 Link to this post

    Hello Alex,


    We are not aware of such issue with the latest official version. Please open a support ticket and send a simple runnable project demonstrating the problem you experience so we can reproduce it on our side.

    Thank you in advance.


    Regards,
    Vera
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for WPF is Visual Studio 2017 Ready