I am using the latest version of Kendo UI Grid. Please advise if there any way to change top and bottom padding for grid row. The problem is that the heigh is set for <tr>
<tr role="row" data-uid="497445bb-2ebd-4c49-b101-117626ed6cd4" class="k-alt" style="height: 49px;"><td role="gridcell" style="text-align:center;">Україна</td><td role="gridcell" style="text-align:left;"><a title="ТОВ Палітра">Палітра</a></td></tr>4 Answers, 1 is accepted
0
Hi Kudryk,
The following CSS rule shouls help to achieve the expected result:
Regards,
Iliana Nikolova
Telerik
The following CSS rule shouls help to achieve the expected result:
.k-grid td { padding: 0;}Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Kudryk
Top achievements
Rank 1
answered on 20 Mar 2015, 01:37 PM
I've just tested and it did not help me to change row height.
As I see, In order to create frozen columns kendo developers divides table on two and calculate row height using JS. Is there any way change the calculated row height ?
I want to row height is calculated depending on the content, but I do not need such large paddings at the top and bottom
As I see, In order to create frozen columns kendo developers divides table on two and calculate row height using JS. Is there any way change the calculated row height ?
I want to row height is calculated depending on the content, but I do not need such large paddings at the top and bottom
0
Kudryk
Top achievements
Rank 1
answered on 20 Mar 2015, 01:52 PM
0
Hi Kudryk,
I tested the suggested CSS rule and it is working as expected on my side (dojo example). Is it possible to modify the test example or provide an isolated runnable project which demonstrates your current implementation? This way I would be able to provide concrete recommendations and advice you further. Thank you in advance for your cooperation and time.
Regards,
Iliana Nikolova
Telerik
I tested the suggested CSS rule and it is working as expected on my side (dojo example). Is it possible to modify the test example or provide an isolated runnable project which demonstrates your current implementation? This way I would be able to provide concrete recommendations and advice you further. Thank you in advance for your cooperation and time.
Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!