你好,我試仍然不行,我有比对下差異,我的HTML及Javascript如下,請再幫忙確認
HTML
<div class="sample-tutorial">
<div class="sample-container">
<!-- b) 创建SpreadJS的目标DOM元素,id为ss的HTML DIV-->
<div id="ss" class="spread-container"></div>
<div id="statusBar"></div>
</div>
</div>
javascript
let spread = new GC.Spread.Sheets.Workbook(document.getElementById('ss'));
let statusBar = new GC.Spread.Sheets.StatusBar.StatusBar(document.getElementById('statusBar'));
statusBar.bind(spread);
var sheet = spread.getSheet(0);
var styleContentNumberRight = new GC.Spread.Sheets.Style();
styleContentNumberRight.hAlign = GC.Spread.Sheets.HorizontalAlign.right;
styleContentNumberRight.vAlign = GC.Spread.Sheets.VerticalAlign.center;
styleContentNumberRight.fontFamily = 'Book Antiqua';
styleContentNumberRight.formatter = '#,##0.00';