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

[Solved] RadGrid row height in IE

1 Answer 329 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 04 Apr 2008, 09:56 AM
Hello,

I have a problem with the height of rows in the radGrid with IE 6. Some rows are twice as high as other rows but the text fits in one row. Can I force the row height to an fix value?

Thx

Oli

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 07 Apr 2008, 10:13 AM
Hi Oliver,

You can explicitly set the height of the data rows in RadGrid by using its ItemStyle property. Check out the following code snippet:

<rad:RadGrid ID="RadGrid1" runat="server">  
    <ItemStyle Height="40px" /> 
</rad:RadGrid> 

Basically, if the cell text can be accommodated in one line the height of the rows should remain intact. You can test that on the following online demo of the product (resizing the column widths):

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Client/Resizing/DefaultCS.aspx

Best regards,
Iana
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Oliver
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or