我在我的项目中使用了handsontable。直到上个星期,它一直工作得很好。
过去两天它不工作(显示带有只读单元的单行)。
我不知道这个问题,并且我确保我没有更改代码中的任何内容。
hot = new Handsontable(document.getElementById('Scid'), {
rowHeaders: true,
minCols: 23,
maxCols: 23,
columnSorting: true,
colHeaders :['IssuerCode','ProductCode','ComponentCode','VariantCode','Platform','TrackingCode','MedicalPlanCode','PharmacyPlanCode','AvValue','MetallicLevel','Riders','Network','ScidStatus','ContributionAmountMin'
,'ContributionAmountMax','HIOSDescriptor','HIOSReason','LinkedHIOS','CaseEffectiveDate','GeoRating','DiscontinueDate','NewExisting','Note'],
minSpareRows: 1
});有人能帮我解决这个问题吗?
发布于 2015-07-15 01:25:33
看起来你在ContributionAmountMin和ContributionAmountMax之间有一些特殊的字符。‘'IssuerCode','ProductCode','ComponentCode','VariantCode','Platform','TrackingCode','MedicalPlanCode','PharmacyPlanCode','AvValue','MetallicLevel','Riders','Network','ScidStatus','ContributionAmountMin’,'ContributionAmountMax','HIOSDescriptor','HIOSReason','LinkedHIOS','CaseEffectiveDate','GeoRating','DiscontinueDate','NewExisting','Note‘
删除多余的空格和回车符应该可以解决这个问题。
https://stackoverflow.com/questions/31409791
复制相似问题