注意在显示时调用再调用一次resize就可以显示出来 $("#"+datagridId).datagrid("resize"); 转载于:https://www.cnblogs.com/yx007/p/8081506.html