ninegrid2 6.247.0 → 6.248.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18155,7 +18155,7 @@ class ngFilterPanel extends HTMLElement
18155
18155
  const ds = filterButton.filterOptions.map((filterOption, i) => {
18156
18156
  const groupLabel = `<span class="group">${cell.textContent}${filterButton.filterOptions.length > 1 ? ` #${i + 1} (${filterOption.colnm})` : ""}</span>`;
18157
18157
 
18158
- const cellEl = this.#owner.tmpl.querySelector(`[data-col="${col}"][data-bind="${filterOption.colnm}"]`);
18158
+ const cellEl = this.#owner.activeTmpl.querySelector(`[data-col="${col}"][data-bind="${filterOption.colnm}"]`);
18159
18159
  const expr = cellEl?.getAttribute("data-expr");
18160
18160
  const exprFunc = expr ? this.#owner.exprFunction(expr) : null;
18161
18161
 
@@ -18153,7 +18153,7 @@ class ngFilterPanel extends HTMLElement
18153
18153
  const ds = filterButton.filterOptions.map((filterOption, i) => {
18154
18154
  const groupLabel = `<span class="group">${cell.textContent}${filterButton.filterOptions.length > 1 ? ` #${i + 1} (${filterOption.colnm})` : ""}</span>`;
18155
18155
 
18156
- const cellEl = this.#owner.tmpl.querySelector(`[data-col="${col}"][data-bind="${filterOption.colnm}"]`);
18156
+ const cellEl = this.#owner.activeTmpl.querySelector(`[data-col="${col}"][data-bind="${filterOption.colnm}"]`);
18157
18157
  const expr = cellEl?.getAttribute("data-expr");
18158
18158
  const exprFunc = expr ? this.#owner.exprFunction(expr) : null;
18159
18159
 
@@ -332,7 +332,7 @@ class ngFilterPanel extends HTMLElement
332
332
  const ds = filterButton.filterOptions.map((filterOption, i) => {
333
333
  const groupLabel = `<span class="group">${cell.textContent}${filterButton.filterOptions.length > 1 ? ` #${i + 1} (${filterOption.colnm})` : ""}</span>`;
334
334
 
335
- const cellEl = this.#owner.tmpl.querySelector(`[data-col="${col}"][data-bind="${filterOption.colnm}"]`);
335
+ const cellEl = this.#owner.activeTmpl.querySelector(`[data-col="${col}"][data-bind="${filterOption.colnm}"]`);
336
336
  const expr = cellEl?.getAttribute("data-expr");
337
337
  const exprFunc = expr ? this.#owner.exprFunction(expr) : null;
338
338
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.247.0",
4
+ "version": "6.248.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -332,7 +332,7 @@ class ngFilterPanel extends HTMLElement
332
332
  const ds = filterButton.filterOptions.map((filterOption, i) => {
333
333
  const groupLabel = `<span class="group">${cell.textContent}${filterButton.filterOptions.length > 1 ? ` #${i + 1} (${filterOption.colnm})` : ""}</span>`;
334
334
 
335
- const cellEl = this.#owner.tmpl.querySelector(`[data-col="${col}"][data-bind="${filterOption.colnm}"]`);
335
+ const cellEl = this.#owner.activeTmpl.querySelector(`[data-col="${col}"][data-bind="${filterOption.colnm}"]`);
336
336
  const expr = cellEl?.getAttribute("data-expr");
337
337
  const exprFunc = expr ? this.#owner.exprFunction(expr) : null;
338
338