是否可以检测到 Kendo 的 header 被更改?

Is that possible to detect the header of Kendo being changed?

如果用户调整 Kendo 网格 header $("#myTable .k-header") 的大小,是否可以检测到它?

提前致谢!

正如他们在此处 http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#events-columnResize 的文档中所述,它看起来像这样:

$('#my-grid').kendoGrid({
 columnResize: function(e) {
    console.log(e.column.field, e.newWidth, e.oldWidth);
  }
});

或者如果你想在初始化后绑定到它,它会是这样的:

var grid = $('#my-grid').data('kendoGrid');
grid.bind('columnResize', function(e) {
    console.log(e.column.field, e.newWidth, e.oldWidth);
});