enable

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

value Boolean optional

True to make the cell enabled; false to disable it.

Returns

Boolean the current disabled 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("disabled");
        sheet.range("A1").enable(false);
    </script>

In this article