ninegrid2 6.92.0 → 6.94.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.
@@ -11818,7 +11818,7 @@ class ngCellEx extends HTMLElement
11818
11818
 
11819
11819
  if (!rowData) return "";
11820
11820
 
11821
- console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
11821
+ //console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
11822
11822
 
11823
11823
  if (!ninegrid.isNull(this.cell.dataset.expr)) {
11824
11824
 
@@ -12065,13 +12065,16 @@ class ngCellEx extends HTMLElement
12065
12065
  row = parseInt(row);
12066
12066
  const fn = expr.replace("()", "");
12067
12067
 
12068
- //console.log(fn, this.owner[fn]);
12068
+ console.log(fn, this.owner[fn]);
12069
12069
 
12070
12070
  if (this.owner[fn]) {
12071
12071
  return this.owner[fn].call(this, data, row, this.cell);
12072
12072
  }
12073
+
12074
+
12073
12075
 
12074
12076
  return this.owner.exprFunction(expr).call(this, data, row, this.owner.data);
12077
+ //return this.owner.exprFunction2(expr).call(this, data, row, this.owner.data);
12075
12078
  } catch (e) {
12076
12079
  console.error(e, expr, data, row);
12077
12080
  return ["NG-COMBO"].includes(this.tagName) ? "" : expr;
@@ -11816,7 +11816,7 @@ class ngCellEx extends HTMLElement
11816
11816
 
11817
11817
  if (!rowData) return "";
11818
11818
 
11819
- console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
11819
+ //console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
11820
11820
 
11821
11821
  if (!ninegrid.isNull(this.cell.dataset.expr)) {
11822
11822
 
@@ -12063,13 +12063,16 @@ class ngCellEx extends HTMLElement
12063
12063
  row = parseInt(row);
12064
12064
  const fn = expr.replace("()", "");
12065
12065
 
12066
- //console.log(fn, this.owner[fn]);
12066
+ console.log(fn, this.owner[fn]);
12067
12067
 
12068
12068
  if (this.owner[fn]) {
12069
12069
  return this.owner[fn].call(this, data, row, this.cell);
12070
12070
  }
12071
+
12072
+
12071
12073
 
12072
12074
  return this.owner.exprFunction(expr).call(this, data, row, this.owner.data);
12075
+ //return this.owner.exprFunction2(expr).call(this, data, row, this.owner.data);
12073
12076
  } catch (e) {
12074
12077
  console.error(e, expr, data, row);
12075
12078
  return ["NG-COMBO"].includes(this.tagName) ? "" : expr;
@@ -277,7 +277,7 @@ export class ngCellEx extends HTMLElement
277
277
 
278
278
  if (!rowData) return "";
279
279
 
280
- console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
280
+ //console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
281
281
 
282
282
  if (!ninegrid.isNull(this.cell.dataset.expr)) {
283
283
 
@@ -524,13 +524,16 @@ export class ngCellEx extends HTMLElement
524
524
  row = parseInt(row);
525
525
  const fn = expr.replace("()", "");
526
526
 
527
- //console.log(fn, this.owner[fn]);
527
+ console.log(fn, this.owner[fn]);
528
528
 
529
529
  if (this.owner[fn]) {
530
530
  return this.owner[fn].call(this, data, row, this.cell);
531
531
  }
532
+
533
+
532
534
 
533
535
  return this.owner.exprFunction(expr).call(this, data, row, this.owner.data);
536
+ //return this.owner.exprFunction2(expr).call(this, data, row, this.owner.data);
534
537
  } catch (e) {
535
538
  console.error(e, expr, data, row);
536
539
  return ["NG-COMBO"].includes(this.tagName) ? "" : expr;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.92.0",
4
+ "version": "6.94.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -277,7 +277,7 @@ export class ngCellEx extends HTMLElement
277
277
 
278
278
  if (!rowData) return "";
279
279
 
280
- console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
280
+ //console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
281
281
 
282
282
  if (!ninegrid.isNull(this.cell.dataset.expr)) {
283
283
 
@@ -524,13 +524,16 @@ export class ngCellEx extends HTMLElement
524
524
  row = parseInt(row);
525
525
  const fn = expr.replace("()", "");
526
526
 
527
- //console.log(fn, this.owner[fn]);
527
+ console.log(fn, this.owner[fn]);
528
528
 
529
529
  if (this.owner[fn]) {
530
530
  return this.owner[fn].call(this, data, row, this.cell);
531
531
  }
532
+
533
+
532
534
 
533
535
  return this.owner.exprFunction(expr).call(this, data, row, this.owner.data);
536
+ //return this.owner.exprFunction2(expr).call(this, data, row, this.owner.data);
534
537
  } catch (e) {
535
538
  console.error(e, expr, data, row);
536
539
  return ["NG-COMBO"].includes(this.tagName) ? "" : expr;