Completed
Last Updated: 30 Oct 2020 10:05 by ADMIN
Release 2.19.0
Jaco
Created on: 14 Aug 2020 15:53
Category: Grid
Type: Bug Report
1
Row height decreases in edit mode

When I enter edit mode for a cell (I used InCell edit mode), the row height decreases.

 

*** Thread created by admin on customer behalf ***

1 comment
ADMIN
Marin Bratanov
Posted on: 14 Aug 2020 15:57
 

When a row is in edit mode, the paddings of the cells are decreased. You can override that with a little bit of CSS to get at the original values (note that they are theme-specific, these are for the Default theme):

<style>
    .k-grid .k-grid-edit-row td {
        padding: 8px 12px;
    }
</style>



Another way to do this is to set a height to the row so that it either matches, or is a bit taller than the default height for the theme, for example:

RowHeight="48"

will be the height of the row of the Default theme in "view" mode, so that when the paddings decrease for an edited row, the general row height will still remain the same.

 

Regards,
Marin Bratanov
Progress Telerik