ninegrid2 6.138.0 → 6.140.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.
@@ -18046,7 +18046,7 @@ class ngFiltering
18046
18046
  if (el.closest("tr").sectionRowIndex + el.rowSpan - 1 === lastRowIndex) {
18047
18047
  let colnms = [];
18048
18048
 
18049
- this.#owner.template.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
18049
+ this.#owner.activeTmpl.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
18050
18050
  if (elem.dataset.bind) colnms.push(elem.dataset.bind);
18051
18051
  });
18052
18052
 
@@ -25216,9 +25216,10 @@ class ninegridContainer extends HTMLElement
25216
25216
  };
25217
25217
 
25218
25218
  createTemplate = () => {
25219
-
25219
+
25220
25220
  this.template = $(".ng-container-body tbody.bindable tr:not(.nodata)", this.body).clone();
25221
25221
  this.tmpl = this.body.querySelectorAll(".ng-container-body tbody.bindable tr:not(.nodata)");
25222
+ this.activeTmpl = this.body.querySelector(".ng-container-body tbody.bindable tr:not(.nodata)");
25222
25223
  };
25223
25224
 
25224
25225
 
@@ -18044,7 +18044,7 @@ class ngFiltering
18044
18044
  if (el.closest("tr").sectionRowIndex + el.rowSpan - 1 === lastRowIndex) {
18045
18045
  let colnms = [];
18046
18046
 
18047
- this.#owner.template.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
18047
+ this.#owner.activeTmpl.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
18048
18048
  if (elem.dataset.bind) colnms.push(elem.dataset.bind);
18049
18049
  });
18050
18050
 
@@ -25214,9 +25214,10 @@ class ninegridContainer extends HTMLElement
25214
25214
  };
25215
25215
 
25216
25216
  createTemplate = () => {
25217
-
25217
+
25218
25218
  this.template = $(".ng-container-body tbody.bindable tr:not(.nodata)", this.body).clone();
25219
25219
  this.tmpl = this.body.querySelectorAll(".ng-container-body tbody.bindable tr:not(.nodata)");
25220
+ this.activeTmpl = this.body.querySelector(".ng-container-body tbody.bindable tr:not(.nodata)");
25220
25221
  };
25221
25222
 
25222
25223
 
@@ -181,7 +181,7 @@ export class ngFiltering
181
181
  if (el.closest("tr").sectionRowIndex + el.rowSpan - 1 === lastRowIndex) {
182
182
  let colnms = [];
183
183
 
184
- this.#owner.template.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
184
+ this.#owner.activeTmpl.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
185
185
  if (elem.dataset.bind) colnms.push(elem.dataset.bind);
186
186
  });
187
187
 
@@ -879,9 +879,10 @@ class ninegridContainer extends HTMLElement
879
879
  };
880
880
 
881
881
  createTemplate = () => {
882
-
882
+
883
883
  this.template = $(".ng-container-body tbody.bindable tr:not(.nodata)", this.body).clone();
884
884
  this.tmpl = this.body.querySelectorAll(".ng-container-body tbody.bindable tr:not(.nodata)");
885
+ this.activeTmpl = this.body.querySelector(".ng-container-body tbody.bindable tr:not(.nodata)");
885
886
  };
886
887
 
887
888
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.138.0",
4
+ "version": "6.140.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -181,7 +181,7 @@ export class ngFiltering
181
181
  if (el.closest("tr").sectionRowIndex + el.rowSpan - 1 === lastRowIndex) {
182
182
  let colnms = [];
183
183
 
184
- this.#owner.template.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
184
+ this.#owner.activeTmpl.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
185
185
  if (elem.dataset.bind) colnms.push(elem.dataset.bind);
186
186
  });
187
187
 
@@ -879,9 +879,10 @@ class ninegridContainer extends HTMLElement
879
879
  };
880
880
 
881
881
  createTemplate = () => {
882
-
882
+
883
883
  this.template = $(".ng-container-body tbody.bindable tr:not(.nodata)", this.body).clone();
884
884
  this.tmpl = this.body.querySelectorAll(".ng-container-body tbody.bindable tr:not(.nodata)");
885
+ this.activeTmpl = this.body.querySelector(".ng-container-body tbody.bindable tr:not(.nodata)");
885
886
  };
886
887
 
887
888