wrap

Gets or sets the wrap of the range cells.

Parameters

value Boolean optional

true if to enable wrapping, false otherwise.

Returns

Boolean the current wrap 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("A2").value("long long long long long long text");
        sheet.range("A2:B3").wrap(true);
    </script>

In this article