Pending Review
Last Updated: 11 Dec 2018 11:18 by ADMIN
Philipp
Created on: 10 Dec 2018 15:16
Category: Grid
Type: Bug Report
0
autoFitColumn does not work in mobile Grid/columnShow-event

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,
    }); 
1 comment
ADMIN
Martin
Posted on: 11 Dec 2018 11:18
Hello,

It seems like this is an issue on our side. I have logged it in our github repo

Thank you for you collaboration 

Regards,
Martin
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.