Hi,
I use autoFitColumn function on the first column with a column object as parameter. But it seems that there is a bug because the function applies on the hierarchical column to compute its width.
I have updated the autoFitColumn function from this code :
var newColumnWidth = Math.ceil(Math.max(th.outerWidth(), contentTable.find("tr").eq(0).children("td:visible").eq(index).outerWidth(), footerTable.find("tr").eq(0).children("td:visible").eq(index).outerWidth()));
to this code :
var newColumnWidth = Math.ceil(Math.max(th.outerWidth(), contentTable.find("tr").eq(0).children("td:visible:not(.k-hierarchy-cell)").eq(index).outerWidth(), footerTable.find("tr").eq(0).children("td:visible").eq(index).outerWidth()));
I have added :not(.k-hierarchy-cell) on the selector.
I do not use any footer so there is certainly the same problem on the children selector.
What do you think about it ?
Thanks for your help.
Regards