sheets.rows.cells.rowSpan Number
(default: 1)
Sets the number of rows that a cell occupies.
Example - making a cell span over two rows
<script>
var workbook = new kendo.ooxml.Workbook({
sheets: [
{
columns: [ { width: 200 } ],
rows: [
{ cells: [ { value: "Occupies two rows", rowSpan: 2 } ] }
]
}
]
});
workbook.toDataURLAsync().then(function(dataURL) {
kendo.saveAs({
dataURI: dataURL,
fileName: "Test.xlsx"
});
});
</script>