ninegrid2 6.428.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,7 +14869,7 @@ class ngColumns
14869
14869
  return el ? {
14870
14870
  "name": el.dataset.bind,
14871
14871
  "type": (el.dataset.type || "string").toLocaleLowerCase(),
14872
- "desc": el.getAttribute("title"),
14872
+ "desc": this.#owner.body.querySelector(`thead [data-col="${el.dataset.col}"]`)?.getAttribute("title"),
14873
14873
  } : null;
14874
14874
  };
14875
14875
 
@@ -14867,7 +14867,7 @@ class ngColumns
14867
14867
  return el ? {
14868
14868
  "name": el.dataset.bind,
14869
14869
  "type": (el.dataset.type || "string").toLocaleLowerCase(),
14870
- "desc": el.getAttribute("title"),
14870
+ "desc": this.#owner.body.querySelector(`thead [data-col="${el.dataset.col}"]`)?.getAttribute("title"),
14871
14871
  } : null;
14872
14872
  };
14873
14873
 
@@ -16,7 +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": el.getAttribute("title"),
19
+ "desc": this.#owner.body.querySelector(`thead [data-col="${el.dataset.col}"]`)?.getAttribute("title"),
20
20
  } : null;
21
21
  };
22
22
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.428.0",
4
+ "version": "6.429.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -16,7 +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": el.getAttribute("title"),
19
+ "desc": this.#owner.body.querySelector(`thead [data-col="${el.dataset.col}"]`)?.getAttribute("title"),
20
20
  } : null;
21
21
  };
22
22