This is a migrated thread and some comments may be shown as answers.

Grid row grows in height when clicking hovering the mouse

1 Answer 102 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rui Silva
Top achievements
Rank 1
Rui Silva asked on 24 Nov 2015, 02:54 PM

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.

 

 

 

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 26 Nov 2015, 08:36 AM
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
Tags
GridView
Asked by
Rui Silva
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or