Completed
Last Updated: 13 Jan 2020 09:20 by ADMIN
Release R1 2020
Ikbum Kim
Created on: 30 Oct 2019 05:44
Category: Grid
Type: Bug Report
0
Lock column makes a margin.

When I use lock column, margin is created in the right scroll of the grid. Did you know this problem?
How can I fix this problem? 

 

 

Attached Files:
1 comment
ADMIN
Preslav
Posted on: 30 Oct 2019 15:35

Hello,

Thank you for reporting this. This behavior is a bug, and thus, I converted this ticket into a public bug report.

For the time being, as a workaround, you could manually resize the "content" table of the Grid. The code could look like:

//...
.Events(events => events.DataBound("onDataBound"))
//...


$(window).resize(function() {
    setTimeout(function() {
        updateGridContentWidth();
    }, 1);
});

function onDataBound() {
    updateGridContentWidth();
}

function updateGridContentWidth() {
    var grid = $("#grid").data("kendoGrid");

    grid.content.width(grid.content.width() + 1);
}

Finally, as a small token of gratitude for pointing us to this bug, I updated your Telerik points.

 

Regards,
Preslav
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.