sheets.columnsArray
An array which defines the columns in this sheet and their content.
Example
<div id="spreadsheet"></div>
<script>
$("#spreadsheet").kendoSpreadsheet({
sheets: [{
columns: [
{ index: 0, width: 100 },
{ index: 1, width: 200 },
{ index: 2, width: 150 }
]
}]
});
</script>
sheets.columns.indexNumber
The zero-based index of the column. Required to ensure correct positioning.
Example
<div id="spreadsheet"></div>
<script>
$("#spreadsheet").kendoSpreadsheet({
sheets: [{
columns: [
{ index: 0, width: 100 },
{ index: 2, width: 150 }
]
}]
});
</script>
sheets.columns.widthNumber
The width of the column in pixels. Defaults to columnWidth.
Example
<div id="spreadsheet"></div>
<script>
$("#spreadsheet").kendoSpreadsheet({
sheets: [{
columns: [
{ index: 0, width: 120 },
{ index: 1, width: 80 }
]
}]
});
</script>
In this article