Skip to content

Commit

Permalink
feat(support): support custom Precede
Browse files Browse the repository at this point in the history
  • Loading branch information
VicKun4937 committed Sep 20, 2024
1 parent c27990b commit 68475ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1798,7 +1798,7 @@ export class SpreadsheetSkeleton extends Skeleton {
const rowStyle = this.worksheet.getRowStyleInternal(row);
const defaultStyle = this.worksheet.getDefaultCellStyleInternal();

const style = composeStyles(defaultStyle, columnStyle, rowStyle, cellStyle);
const style = this._isRowStylePrecedeColumnStyle ? composeStyles(defaultStyle, columnStyle, rowStyle, cellStyle) : composeStyles(defaultStyle, rowStyle, columnStyle, cellStyle);

// by default, style cache should includes border and background info.
const cacheItem = options?.cacheItem || { bg: true, border: true };
Expand Down

0 comments on commit 68475ad

Please sign in to comment.