Edit this page

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>

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy