javascript - Handsontable 存在问题 - 单行包含只读单元格

标签 javascript handsontable

我在我的项目中使用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
    });

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

最佳答案

看起来您在 ContributionAmountMin 和 ContributionAmountMax 之间有一些特殊字符。 ['IssuerCode'、'ProductCode'、'ComponentCode'、'VariantCode'、'Platform'、'TrackingCode'、'MedicalPlanCode'、'PharmacyPlanCode'、'AvValue'、'MetallicLevel'、'Riders'、'Network'、' ScidStatus','ContributionAmountMin' ,'ContributionAmountMax','HIOSDescriptor','HIOSReason','LinkedHIOS','CaseEffectiveDate','GeoRating','DiscontinueDate','NewExisting','注释']

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

关于javascript - Handsontable 存在问题 - 单行包含只读单元格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31409791/

相关文章:

javascript - 为绘画程序创建 'History Panel'

Handsontable - 为某些列启用过滤器插件

javascript - Handsontable 上下文菜单粘贴第一次不起作用

javascript - 使用数组作为具有handsontable的列

javascript - Jquery 中的 Css 之后和之前

javascript - 查找所有英制单位并替换为相应的公制单位

javascript - 关于WeakMap和私有(private)变量的问题

javascript - window.scrollTo 在 Internet Explorer 11 中不起作用

jquery - 向 spring mvc3 Controller 提交 Handsontable - 不支持内容类型 'application/x-www-form-urlencoded'

handsontable - 动态列宽与handsontable