italic

Gets or sets the italic state of the cells in the range.

Parameters

value Boolean optional

True will make the text of the cells italic; false otherwise.

Returns

Boolean the current italic state 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("italic");
        sheet.range("A1").italic(true);
    </script>

In this article
Not finding the help you need?