0

How to change the default font in the toolbar of spreadjs? I tried it with the below code. But it didn't working.

        var active = spread.getActiveSheet();
        sheetstyle.font = "8pt Arial";

        active.setDefaultStyle(sheetstyle, GC.Spread.Sheets.SheetArea.viewport);
Aswathy S
  • 729
  • 1
  • 12
  • 41

1 Answers1

0

Try

GC.Spread.Sheets.Themes.Office.bodyFont("Arial")
Jeremy Caney
  • 7,102
  • 69
  • 48
  • 77
DexterYao
  • 11
  • 3