sheets.rows.cells.textAlignString
The text-align setting for the cell content.
The available options are:
left
center
right
Example
<div id="spreadsheet"></div>
<script>
$("#spreadsheet").kendoSpreadsheet({
sheets: [{
name: "MySheet",
rows: [{
cells: [{
value: "Left aligned",
textAlign: "left"
}, {
value: "Center aligned",
textAlign: "center"
}, {
value: "Right aligned",
textAlign: "right"
}]
}]
}]
});
</script>
justify
In this article