setColTypes函数中,应该有6个参数而不是5个。因此,代码应该改为:

shellGrid.setColTypes("ro,ro,ro,ro,ro,ro");

此外,在setColSorting函数中,应该有6个参数而不是5个。因此,代码应该改为:

shellGrid.setColSorting('str,str,str,str,str,str');

最后,在setInitWidths函数中,应该有5个参数而不是4个。因此,代码应该改为:

shellGrid.setInitWidths("120,100,120,80,150");
有什么错误吗 createShellGridcell let shellGrid = cellattachGrid; shellGridsetHeader $LANGgridheadernote $LANGgridheadercate $LANGgridheaderpass $LANGgridheadertype $LANGgrid

原文地址: http://www.cveoy.top/t/topic/hSBi 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录