ninegrid2 6.427.0 → 6.429.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.
@@ -14869,6 +14869,7 @@ class ngColumns
14869
14869
  return el ? {
14870
14870
  "name": el.dataset.bind,
14871
14871
  "type": (el.dataset.type || "string").toLocaleLowerCase(),
14872
+ "desc": this.#owner.body.querySelector(`thead [data-col="${el.dataset.col}"]`)?.getAttribute("title"),
14872
14873
  } : null;
14873
14874
  };
14874
14875
 
@@ -24758,11 +24759,7 @@ class ninegridContainer extends HTMLElement
24758
24759
  });
24759
24760
 
24760
24761
  $("thead th,thead td,tfoot th,tfoot td", tbl).each((i,el) => {
24761
- if (el.dataset && el.dataset.expr) {
24762
- el.innerHTML = "<ng-renderer>";
24763
- }
24764
-
24765
- console.log(el.getAttribute("title"));
24762
+ if (el.dataset && el.dataset.expr) el.innerHTML = "<ng-renderer>";
24766
24763
  if (!el.getAttribute("title")) el.setAttribute("title", el.innerHTML);
24767
24764
  });
24768
24765
 
@@ -14867,6 +14867,7 @@ class ngColumns
14867
14867
  return el ? {
14868
14868
  "name": el.dataset.bind,
14869
14869
  "type": (el.dataset.type || "string").toLocaleLowerCase(),
14870
+ "desc": this.#owner.body.querySelector(`thead [data-col="${el.dataset.col}"]`)?.getAttribute("title"),
14870
14871
  } : null;
14871
14872
  };
14872
14873
 
@@ -24756,11 +24757,7 @@ class ninegridContainer extends HTMLElement
24756
24757
  });
24757
24758
 
24758
24759
  $("thead th,thead td,tfoot th,tfoot td", tbl).each((i,el) => {
24759
- if (el.dataset && el.dataset.expr) {
24760
- el.innerHTML = "<ng-renderer>";
24761
- }
24762
-
24763
- console.log(el.getAttribute("title"));
24760
+ if (el.dataset && el.dataset.expr) el.innerHTML = "<ng-renderer>";
24764
24761
  if (!el.getAttribute("title")) el.setAttribute("title", el.innerHTML);
24765
24762
  });
24766
24763
 
@@ -16,6 +16,7 @@ export class ngColumns
16
16
  return el ? {
17
17
  "name": el.dataset.bind,
18
18
  "type": (el.dataset.type || "string").toLocaleLowerCase(),
19
+ "desc": this.#owner.body.querySelector(`thead [data-col="${el.dataset.col}"]`)?.getAttribute("title"),
19
20
  } : null;
20
21
  };
21
22
 
@@ -542,11 +542,7 @@ class ninegridContainer extends HTMLElement
542
542
  });
543
543
 
544
544
  $("thead th,thead td,tfoot th,tfoot td", tbl).each((i,el) => {
545
- if (el.dataset && el.dataset.expr) {
546
- el.innerHTML = "<ng-renderer>";
547
- }
548
-
549
- console.log(el.getAttribute("title"));
545
+ if (el.dataset && el.dataset.expr) el.innerHTML = "<ng-renderer>";
550
546
  if (!el.getAttribute("title")) el.setAttribute("title", el.innerHTML);
551
547
  });
552
548
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.427.0",
4
+ "version": "6.429.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -16,6 +16,7 @@ export class ngColumns
16
16
  return el ? {
17
17
  "name": el.dataset.bind,
18
18
  "type": (el.dataset.type || "string").toLocaleLowerCase(),
19
+ "desc": this.#owner.body.querySelector(`thead [data-col="${el.dataset.col}"]`)?.getAttribute("title"),
19
20
  } : null;
20
21
  };
21
22
 
@@ -542,11 +542,7 @@ class ninegridContainer extends HTMLElement
542
542
  });
543
543
 
544
544
  $("thead th,thead td,tfoot th,tfoot td", tbl).each((i,el) => {
545
- if (el.dataset && el.dataset.expr) {
546
- el.innerHTML = "<ng-renderer>";
547
- }
548
-
549
- console.log(el.getAttribute("title"));
545
+ if (el.dataset && el.dataset.expr) el.innerHTML = "<ng-renderer>";
550
546
  if (!el.getAttribute("title")) el.setAttribute("title", el.innerHTML);
551
547
  });
552
548