Hi,
I use autoFitColumn function on a column object and the function applies on the next column (I think there is a problem between model index and view index).
The first column of my grid is frozen then the second column is autofited properly and the third column autofits the fourth one. The grid is scrollable and all columns are visible.
If I change the 'locked' property of the first column, then the autoFitColumn works properly so I suppose there is a bug.
We are using Kendo v1.521 (I also try to use the last version but the problem is the same)
I have changed your code in autoFitColumn function from this :
if (that.lockedHeader && visibleLocked >= index && !isLocked) {
index -= visibleLocked;
}
to that :
if (that.lockedHeader && !isLocked) {
index -= visibleLocked;
}
And it seems to work properly. What do you think about it ?
Thanks for your help.
Regards