Hi All,
I am having one issue while loading different formats in same hottable. I have button in page on click it will populate one by one sheet from a workbook. First two sheets are loaded correctly but from third sheet previous cell formats are getting overlapped with new one. Below is the code snippet which I have used to load data and format.
let container = document.querySelector('#hottable')!;
let hotSettings: Handsontable.GridSettings = {
data: this.dataset,
rowHeaders: true,
colHeaders: true,
stretchH: 'all',
cell: this.hotcelltype,
mergeCells: this.hotmergecells,
height: "730px",
colWidths: this.hotcolWidths,
rowHeights: this.hotrowHeights,
autoWrapRow: true,
autoWrapCol: true,
manualColumnResize: true,
manualRowResize: true,
fixedColumnsLeft: this.fixedcolumnstoleft,
fixedRowsTop: this.fixedrowsfromtop,
formulas: {
engine: HyperFormula
},
contextMenu: true,
hiddenRows: {
rows: this.hothiddenrows,
indicators: true
}
};
let hot = new Handsontable(container, hotSettings);
hot.updateSettings(hotSettings)