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.


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).


Object the current value of the top-left cell of the range.


    <div id="spreadsheet"></div>
    <script type="text/javascript" charset="utf-8">


        var spreadsheet = $("#spreadsheet").data("kendoSpreadsheet");

        var sheet = spreadsheet.activeSheet();

        sheet.range("A2:B3").borderRight({ size: 2, color: "green" });

In this article