您好,标签设置方式为:
- var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"), {sheetCount: 2});
- var sheet = spread.getSheet(0);
- /*
- Sheet.getTag(row, col, sheetArea?) / Sheet.setTag(row, col, tag, sheetArea?)
- 可以用setTag来设置标签,
- 表单: 当 row 和 col 都为 -1 时
- 行: 当 col 为 -1 并且 row 大于等于 0 时
- 列: 当 row 为 -1 并且 col 大于等于 0 时
- 单元格: 当 row 大于等于 0 并且 col 大于等于 0 时
- */
- sheet.setTag(3, -1, "第4行的标签内容");
复制代码 |