Locked column resize fix problem

1 Answer 120 Views
Grid
Abdurrahman
Top achievements
Rank 1
Abdurrahman asked on 20 Oct 2021, 07:54 AM

When the grid is loaded for the first time, the height of the locked column remains constant, the height of the other columns can be changed.

Locked column : " Stok No "

Fixed when changing the width of any column



1 Answer, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 22 Oct 2021, 09:42 PM

Hi Abdurrahman,

I have answered this issue within the support ticket opened for the same behavior.  However, for the sake of the community, here is the answer within the support ticket:

The Kendo UI Grid's locked columns rely on synchronizing the row height of frozen and non-frozen sections of the Grid.  In some cases, it may be necessary to set the line-height in pixels to sync correctly due to sub-pixel issues.  For example:

div.k-grid td
{
  line-height: 18px;
}

Please take a look at the following Progress Kendo UI Dojo which demonstrates the approach above and let me know if you have any questions.

Regards,
Patrick
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
Abdurrahman
Top achievements
Rank 1
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or