簡體   English   中英

Handsontable遇到問題-帶有只讀單元格的單行

[英]Handsontable is having issues - single row with readonly cells

我在項目中使用了handontable。 直到上周,它一直運轉良好。

最近兩天不起作用(僅顯示帶有只讀單元格的行)。

我不知道這個問題,我確保我沒有更改代碼中的任何內容。

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','Note']

刪除多余的空格和回車符可以解決此問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM