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:
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
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