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

[Solved] Row height?

2 Answers 139 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Joan Vilariño
Top achievements
Rank 2
Joan Vilariño asked on 30 Nov 2010, 11:03 AM
Is there any waq to set row height for a grid? I found you can set the whole grid height but not the row's one ...

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 30 Nov 2010, 01:31 PM
Hi Joan VilariƱo,

 You can use CSS to set the height of the grid rows:

<style type="text/css">
.t-grid td
{
    line-height: 20px;
}
</style>

Regards,
Atanas Korchev
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
pontus
Top achievements
Rank 1
answered on 11 Feb 2011, 03:53 PM
I'm having trouble with the grid-height /row-hight.

This is what i want:
* Fixed sized grid
* Fixed row-height
* No scrolling
* Showing 10 post per page

I manage to set the grid height properly and when my grid shows 10 posts or more it's all good (see pic1) BUT when my grid shows <10 posts the row-height of each post increases (see pic2). Please help me with this one.

/Pontus
Tags
Grid
Asked by
Joan Vilariño
Top achievements
Rank 2
Answers by
Atanas Korchev
Telerik team
pontus
Top achievements
Rank 1
Share this question
or