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