Grid row grows in height when clicking hovering the mouse

2 posts, 0 answers
  1. Rui Silva
    Rui Silva avatar
    16 posts
    Member since:
    Dec 2009

    Posted 24 Nov 2015 Link to this post

    The problem occurs in all 5 styles on this end.

    There were no changes to the styles whatsoever, and the problem described in the title.

    The only changes that were applied were in the code itself:

    Following the application of these parameteres, the strange behaviour of the styles began:

    "AutoSizeColumnsMode = Fill"

    "AutoSizeRowns = True".

     

    I will also include a video showing how the styles behave in order to clarify the problem.

     

     

     

  2. Dimitar
    Admin
    Dimitar avatar
    1404 posts

    Posted 26 Nov 2015 Link to this post

    Hi Rui,

    Thank you for writing.

    This is caused because the row is sized according to its content and since the editor is bigger the row is enlarged. To avoid this, you can set the minimum height of the rows:
    radGridView1.MasterView.TableAddNewRow.MinHeight = 24;
    foreach (var item in radGridView1.Rows)
    {
        item.MinHeight = 24;
    }

    Please let me know if there is something else I can help you with. 
     
    Regards,
    Dimitar
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top