The following event-handler does not work when run in a mobile environment (iPad). Otherwise it works as expected:
Result: all columns a set to their minimum width.
var grid = $("#grid").kendoGrid({
dataSource: dataSource,
columns: [
// ...
],
columnShow: function (event) {
console.time('autoFitColumn');
for (var i = 0; i < this.columns.length; i++) {
var col = this.columns[i];
this.autoFitColumn(i);
}
console.timeEnd('autoFitColumn');
},
// ...
filterable: true,
sortable: {
mode: "multiple",
allowUnsort: true
},
pageable: true,
reorderable: true,
scrollable: true,
columnMenu: true,
mobile: true,
});