fontSize

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

Parameters

value Number optional

The font size (in pixels) that should be set.

Returns

Number the font size 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").value("50px");
        sheet.range("A1").fontSize(50);
    </script>

In this article
Not finding the help you need?