borderRight

Gets or sets the state of the right border of the cells. If the range includes more than a single cell, the setting is applied to all cells.

Parameters

value Object optional

The border configuration object. It may contain size and color keys.

The color may be set to any valid CSS color. The size should be the border width in pixels (numeric, not string).

Returns

Object the current value 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:B3").borderRight({ size: 2, color: "green" });
    </script>

In this article
Not finding the help you need?