sheets.frozenColumns Number
(default: 0)
The number of the frozen columns in this sheet.
Example - freezing the columns
<script>
var workbook = new kendo.ooxml.Workbook({
sheets: [{
frozenColumns: 2,
rows: [
{ cells: [ { value: "Frozen column" }, { value: "Frozen column" }, { value: "Free column" } ] }
]
}]
});
workbook.toDataURLAsync().then(function(dataURL) {
kendo.saveAs({
dataURI: dataURL,
fileName: "Test.xlsx"
});
});
</script>