sheets.rows.cells.wrap Boolean
(default: false)
Setting sheets.rows.cells.wrap
to true
wraps the cell content.
Example - wrapping the cell content
<script>
var workbook = new kendo.ooxml.Workbook({
sheets: [
{
rows: [
{ cells: [ { value: "Long value", wrap: true } ] }
]
}
]
});
workbook.toDataURLAsync().then(function(dataURL) {
kendo.saveAs({
dataURI: dataURL,
fileName: "Test.xlsx"
});
});
</script>