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

Row min-height

1 Answer 321 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 09 Jul 2013, 11:21 PM
Hello,

For some reason, I can't find a way to apply the min-height style to a grid row.

I tried several way without success but here's one of the best example I can provide:

.k-grid tbody tr, .k-grid tbody tr td
{
    min-height: 20px;
}

I thought that would be an easy thing to do so I must be missing something obvious here...

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 11 Jul 2013, 06:57 AM
Hello Simon,

min-height does not work for table cells, which can be easily checked with a plain <table> outside the Grid.

You can use height, which behaves like min-height in this case, because table cells always expand vertically if needed.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Simon
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or