Bug: JS error resizing locked columns

4 posts, 1 answers
  1. Nicholas
    Nicholas avatar
    27 posts
    Member since:
    Mar 2013

    Posted 03 Sep 2014 Link to this post

    Hi,

    The _adjustRowsHeight function in the Kendo Grid code throws an exception if columns are resized in a grid containing locked columns while the grid is empty. These lines are causing the issue:

    for (idx = 0; idx < length; idx++) {
        if (rows[idx].style.height) {
            rows[idx].style.height = rows2[idx].style.height = "";
        }
     
        var offsetHeight1 = rows[idx].offsetHeight;
        var offsetHeight2 = rows2[idx].offsetHeight;

    If the grid is created by the Kendo MVC wrapper, "rows" contains one <tr class='k-no-data'> while rows2 is empty. I'd link to a jsfiddle reproducing the problem, but the k-no-data row is only added by the MVC wrapper.

    Once this happens it's impossible to resize any columns until the page is reloaded. Is this a known issue?

    Thanks,
    Nick

  2. Answer
    Rosen
    Admin
    Rosen avatar
    3253 posts

    Posted 04 Sep 2014 Link to this post

    Hello Nicholas,

    Thanks for the report. We have managed to recreate the issue locally and to address it. You will be able to find the fix in the next internal build. I have also updated your telerik points.

    Regards,
    Rosen
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. Kajal
    Kajal avatar
    4 posts
    Member since:
    Feb 2014

    Posted 24 Dec 2014 in reply to Rosen Link to this post

    Is this issue fixed? If so, which release has the fix?

    Thanks
    Kajal
  4. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2527 posts

    Posted 25 Dec 2014 Link to this post

    Hello Kajal,

    The issue should be fixed in the 2014.Q3 official release (2014.3.1119), as well as the 2014.Q2 SP2 release (2014.2.1008).

    Regards,
    Alex Gyoshev
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top