ninegrid2 6.139.0 → 6.141.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.
@@ -17890,6 +17890,8 @@ class ngFiltering
17890
17890
  */
17891
17891
  this.#isFiltering = false;
17892
17892
  this.#owner.data.clearFilter();
17893
+
17894
+ this.#on();
17893
17895
  };
17894
17896
 
17895
17897
  isFiltering = () => {
@@ -18046,7 +18048,7 @@ class ngFiltering
18046
18048
  if (el.closest("tr").sectionRowIndex + el.rowSpan - 1 === lastRowIndex) {
18047
18049
  let colnms = [];
18048
18050
 
18049
- this.#owner.template.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
18051
+ this.#owner.activeTmpl.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
18050
18052
  if (elem.dataset.bind) colnms.push(elem.dataset.bind);
18051
18053
  });
18052
18054
 
@@ -25216,9 +25218,10 @@ class ninegridContainer extends HTMLElement
25216
25218
  };
25217
25219
 
25218
25220
  createTemplate = () => {
25219
-
25221
+
25220
25222
  this.template = $(".ng-container-body tbody.bindable tr:not(.nodata)", this.body).clone();
25221
25223
  this.tmpl = this.body.querySelectorAll(".ng-container-body tbody.bindable tr:not(.nodata)");
25224
+ this.activeTmpl = this.body.querySelector(".ng-container-body tbody.bindable tr:not(.nodata)");
25222
25225
  };
25223
25226
 
25224
25227
 
@@ -17888,6 +17888,8 @@ class ngFiltering
17888
17888
  */
17889
17889
  this.#isFiltering = false;
17890
17890
  this.#owner.data.clearFilter();
17891
+
17892
+ this.#on();
17891
17893
  };
17892
17894
 
17893
17895
  isFiltering = () => {
@@ -18044,7 +18046,7 @@ class ngFiltering
18044
18046
  if (el.closest("tr").sectionRowIndex + el.rowSpan - 1 === lastRowIndex) {
18045
18047
  let colnms = [];
18046
18048
 
18047
- this.#owner.template.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
18049
+ this.#owner.activeTmpl.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
18048
18050
  if (elem.dataset.bind) colnms.push(elem.dataset.bind);
18049
18051
  });
18050
18052
 
@@ -25214,9 +25216,10 @@ class ninegridContainer extends HTMLElement
25214
25216
  };
25215
25217
 
25216
25218
  createTemplate = () => {
25217
-
25219
+
25218
25220
  this.template = $(".ng-container-body tbody.bindable tr:not(.nodata)", this.body).clone();
25219
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)");
25220
25223
  };
25221
25224
 
25222
25225
 
@@ -25,6 +25,8 @@ export class ngFiltering
25
25
  */
26
26
  this.#isFiltering = false;
27
27
  this.#owner.data.clearFilter();
28
+
29
+ this.#on();
28
30
  };
29
31
 
30
32
  isFiltering = () => {
@@ -181,7 +183,7 @@ export class ngFiltering
181
183
  if (el.closest("tr").sectionRowIndex + el.rowSpan - 1 === lastRowIndex) {
182
184
  let colnms = [];
183
185
 
184
- this.#owner.template.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
186
+ this.#owner.activeTmpl.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
185
187
  if (elem.dataset.bind) colnms.push(elem.dataset.bind);
186
188
  });
187
189
 
@@ -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.139.0",
4
+ "version": "6.141.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -25,6 +25,8 @@ export class ngFiltering
25
25
  */
26
26
  this.#isFiltering = false;
27
27
  this.#owner.data.clearFilter();
28
+
29
+ this.#on();
28
30
  };
29
31
 
30
32
  isFiltering = () => {
@@ -181,7 +183,7 @@ export class ngFiltering
181
183
  if (el.closest("tr").sectionRowIndex + el.rowSpan - 1 === lastRowIndex) {
182
184
  let colnms = [];
183
185
 
184
- this.#owner.template.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
186
+ this.#owner.activeTmpl.querySelectorAll(`[data-col="${el.dataset.col}"]`).forEach((elem) => {
185
187
  if (elem.dataset.bind) colnms.push(elem.dataset.bind);
186
188
  });
187
189
 
@@ -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