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

How to make Grid line height smaller?

2 Answers 195 Views
Grid
This is a migrated thread and some comments may be shown as answers.
YN
Top achievements
Rank 1
YN asked on 23 Jul 2019, 06:59 PM

Hi Telerik experts,

 

Could you educate me how to set the height of every line of Grid?

2 Answers, 1 is accepted

Sort by
0
Accepted
Eyup
Telerik team
answered on 24 Jul 2019, 07:26 AM
Hi Sarah,

You can achieve this requirement using the following CSS rule:
<style>
    .k-grid td,
    .k-grid td .k-checkbox,
    .k-grid td .k-checkbox-label {
        line-height: 0.8em !important;
        height: 0.8em !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
</style>

That should do the trick.

Regards,
Eyup
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
YN
Top achievements
Rank 1
answered on 24 Jul 2019, 05:56 PM
It works. Thank you very much!
Tags
Grid
Asked by
YN
Top achievements
Rank 1
Answers by
Eyup
Telerik team
YN
Top achievements
Rank 1
Share this question
or