Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cassandra/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Kendo ui 静态列剑道网格错误_Kendo Ui - Fatal编程技术网

Kendo ui 静态列剑道网格错误

Kendo ui 静态列剑道网格错误,kendo-ui,Kendo Ui,当我加载带有列(已锁定)的kendoGrid时,出现错误:(( 数据源:将json列表到kendoDatasource 列:列出列如果您使用的是2014年第3季度或更高版本,则使用kendo.resize()方法应该可以解决您的问题: 尝试在网格定义方法下添加以下内容: kendo.resize($("#GS_ResultTab_GridDeloyment")); 如果没有帮助,您也可以尝试在网格数据绑定事件上使用此方法: $("#GS_ResultTab_GridDeloyment").k

当我加载带有列(已锁定)的kendoGrid时,出现错误:((

数据源:将json列表到kendoDatasource


列:列出列

如果您使用的是2014年第3季度或更高版本,则使用
kendo.resize()
方法应该可以解决您的问题:

尝试在网格定义方法下添加以下内容:

kendo.resize($("#GS_ResultTab_GridDeloyment"));
如果没有帮助,您也可以尝试在网格数据绑定事件上使用此方法:

$("#GS_ResultTab_GridDeloyment").kendoGrid({
    ...
    dataBound: function(e) { kendo.resize(e.sender.element); }
});
$("#GS_ResultTab_GridDeloyment").kendoGrid({
    ...
    dataBound: function(e) { kendo.resize(e.sender.element); }
});