首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Handsontable有问题-单行具有只读单元格

Handsontable有问题-单行具有只读单元格
EN

Stack Overflow用户
提问于 2015-07-14 22:39:58
回答 1查看 112关注 0票数 0

我在我的项目中使用了handsontable。直到上个星期,它一直工作得很好。

过去两天它不工作(显示带有只读单元的单行)。

我不知道这个问题,并且我确保我没有更改代码中的任何内容。

代码语言:javascript
复制
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
    });

有人能帮我解决这个问题吗?

EN

回答 1

Stack Overflow用户

发布于 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‘

删除多余的空格和回车符应该可以解决这个问题。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31409791

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档