GroupRow.MinHeight not work

6 posts, 1 answers
  1. Rudá Cunha
    Rudá Cunha avatar
    50 posts
    Member since:
    Mar 2010

    Posted 20 Jun 2011 Link to this post

    My grid is set 
    AutoSizeRows = true; 

    I just want my rows are a minimum: 

    private void GridView_CreateRow (Object sender,
    Telerik.WinControls.UI.GridViewCreateRowEventArgs e)
            {
                e.RowInfo.MinHeight = TableElement.RowHeight;
            }


    This works perfectly but does not work for the group. 
    So I put: 

    private void GridView_CreateRow (Object sender,
    Telerik.WinControls.UI.GridViewCreateRowEventArgs e)
            {
                e.RowInfo.MinHeight = TableElement.RowHeight;
      
                if (e.RowInfo.Group = null)
                    e.RowInfo.Group.GroupRow.MinHeight =
    TableElement.RowHeight;
            }


    That is the property MinHeight Group does not work as it should (equal to 
    the RowInfo.MinHeight). 

    How can I solve this?

  2. Answer
    Alexander
    Admin
    Alexander avatar
    306 posts

    Posted 23 Jun 2011 Link to this post

    Hello Rudá,

    Thank you for reporting this issue in the RadGridView control. I confirm that the MinHeight property of group rows is not considered when the control is in AutoSizeRows mode. I have added the issue to our PITS. We will address it in a future release. Your Telerik points have been updated.

    You can define the height of group rows using the GroupHeaderHeight property of GridTableElement when RadGridView is not in AutoSizeRows mode.

    Best regards,
    Alexander
    the Telerik team
    Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. y2kdis
    y2kdis avatar
    9 posts
    Member since:
    Nov 2012

    Posted 13 Feb 2015 in reply to Alexander Link to this post

    Has this been resolved in the current build?
  5. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 16 Feb 2015 Link to this post

    Hello,

    Yes, this item is resolved back in Q2 2011 SP1. Here is the link to the item at hand in our feedback portal: http://feedback.telerik.com/Project/154/Feedback/Details/111566.

    I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

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

     
  6. y2kdis
    y2kdis avatar
    9 posts
    Member since:
    Nov 2012

    Posted 17 Feb 2015 in reply to Stefan Link to this post

    Hi Stefan,

    We have the 2013 Q3 version and we're still seeing this unwanted behavior. Any clue?

    Thanks!
  7. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 18 Feb 2015 Link to this post

    Hi,

    Can you please provide code snippets which we can use to replicate the undesired behavior? Or, of it would be more convenient for you, you can open support ticket and send us a sample project.

    I am looking forward to your reply.

    Regards,
    Stefan
    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 WinForms is Visual Studio 2017 Ready