fontFamily

Gets or sets the font family of the cells in the range.

Parameters

value String optional

The font family that should be set.

Returns

String the font family of the top-left cell of the range.

Example

    <div id="spreadsheet"></div>
    <script type="text/javascript" charset="utf-8">
        $("#spreadsheet").kendoSpreadsheet();
        var spreadsheet = $("#spreadsheet").data("kendoSpreadsheet");
        var sheet = spreadsheet.activeSheet();
        sheet.range("A1:B1").value("monospace");
        sheet.range("A1").fontFamily("monospace");
    </script>

In this article
Not finding the help you need?