diff --git a/src/slick.grid.ts b/src/slick.grid.ts index 833c61e0..fd0727d9 100644 --- a/src/slick.grid.ts +++ b/src/slick.grid.ts @@ -350,7 +350,7 @@ export class SlickGrid = Column, O e protected _topPanels!: HTMLDivElement[]; protected _viewport!: HTMLDivElement[]; protected _canvas!: HTMLDivElement[]; - protected _style: any; + protected _style?: HTMLStyleElement; protected _boundAncestors: HTMLElement[] = []; protected stylesheet?: { cssRules: Array<{ selectorText: string; }>; rules: Array<{ selectorText: string; }>; } | null; protected columnCssRulesL?: Array<{ selectorText: string; }>; @@ -2299,33 +2299,28 @@ export class SlickGrid = Column, O e } protected createCssRules() { - const template = Utils.createDomElement('template', { innerHTML: '