Edit this page

deleteColumn

Deletes the contents of the column at the provided index and shifts the remaining contents of the sheet to the left.

Parameters

index Number

The zero-based index of the column

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:B2").values([ [1, 2], [2, 3] ]);

    sheet.deleteColumn(0);
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy