ninegrid2 6.122.0 → 6.124.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.
@@ -18176,11 +18176,11 @@ class ngFilterPanel extends HTMLElement
18176
18176
 
18177
18177
  $("ng-filter-button", this.#target.owner.body).each((index,el) => {
18178
18178
 
18179
- console.log(el, el.filterData);
18179
+ //console.log(el, el.filterData);
18180
18180
 
18181
18181
  if (!el.filterData) return true;
18182
18182
 
18183
- console.log(el, el.filterData);
18183
+ //console.log(el, el.filterData);
18184
18184
 
18185
18185
  el.colnms.forEach(colnm => {
18186
18186
  oParam[colnm] = el.filterData;
@@ -18308,14 +18308,15 @@ class ngFilterPanel extends HTMLElement
18308
18308
  });
18309
18309
  */
18310
18310
 
18311
- console.log(el.filterData);
18312
- //el.filterData.forEach(o => {
18313
- var idx = owner.fields.indexOf(o.colnm);
18311
+ console.log(el.filterData, el.columns);
18312
+
18313
+ colnms.forEach(colnm => {
18314
+ var idx = owner.fields.indexOf(colnm);
18314
18315
 
18315
18316
  if (idx >= 0) {
18316
18317
  data = data.filter(m => { return el.filterData.nineBinarySearch(m.v[idx] || '') >= 0; });
18317
18318
  }
18318
- //});
18319
+ });
18319
18320
 
18320
18321
  //data = data.filter(rowData => { return el.filterData.findIndex(item => (item.DATA || '') == (rowData[item.COLNM] || '') ) >= 0; });
18321
18322
  });
@@ -18174,11 +18174,11 @@ class ngFilterPanel extends HTMLElement
18174
18174
 
18175
18175
  $("ng-filter-button", this.#target.owner.body).each((index,el) => {
18176
18176
 
18177
- console.log(el, el.filterData);
18177
+ //console.log(el, el.filterData);
18178
18178
 
18179
18179
  if (!el.filterData) return true;
18180
18180
 
18181
- console.log(el, el.filterData);
18181
+ //console.log(el, el.filterData);
18182
18182
 
18183
18183
  el.colnms.forEach(colnm => {
18184
18184
  oParam[colnm] = el.filterData;
@@ -18306,14 +18306,15 @@ class ngFilterPanel extends HTMLElement
18306
18306
  });
18307
18307
  */
18308
18308
 
18309
- console.log(el.filterData);
18310
- //el.filterData.forEach(o => {
18311
- var idx = owner.fields.indexOf(o.colnm);
18309
+ console.log(el.filterData, el.columns);
18310
+
18311
+ colnms.forEach(colnm => {
18312
+ var idx = owner.fields.indexOf(colnm);
18312
18313
 
18313
18314
  if (idx >= 0) {
18314
18315
  data = data.filter(m => { return el.filterData.nineBinarySearch(m.v[idx] || '') >= 0; });
18315
18316
  }
18316
- //});
18317
+ });
18317
18318
 
18318
18319
  //data = data.filter(rowData => { return el.filterData.findIndex(item => (item.DATA || '') == (rowData[item.COLNM] || '') ) >= 0; });
18319
18320
  });
@@ -313,11 +313,11 @@ class ngFilterPanel extends HTMLElement
313
313
 
314
314
  $("ng-filter-button", this.#target.owner.body).each((index,el) => {
315
315
 
316
- console.log(el, el.filterData);
316
+ //console.log(el, el.filterData);
317
317
 
318
318
  if (!el.filterData) return true;
319
319
 
320
- console.log(el, el.filterData);
320
+ //console.log(el, el.filterData);
321
321
 
322
322
  el.colnms.forEach(colnm => {
323
323
  oParam[colnm] = el.filterData;
@@ -445,14 +445,15 @@ class ngFilterPanel extends HTMLElement
445
445
  });
446
446
  */
447
447
 
448
- console.log(el.filterData);
449
- //el.filterData.forEach(o => {
450
- var idx = owner.fields.indexOf(o.colnm);
448
+ console.log(el.filterData, el.columns);
449
+
450
+ colnms.forEach(colnm => {
451
+ var idx = owner.fields.indexOf(colnm);
451
452
 
452
453
  if (idx >= 0) {
453
454
  data = data.filter(m => { return el.filterData.nineBinarySearch(m.v[idx] || '') >= 0; });
454
455
  }
455
- //});
456
+ });
456
457
 
457
458
  //data = data.filter(rowData => { return el.filterData.findIndex(item => (item.DATA || '') == (rowData[item.COLNM] || '') ) >= 0; });
458
459
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.122.0",
4
+ "version": "6.124.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -313,11 +313,11 @@ class ngFilterPanel extends HTMLElement
313
313
 
314
314
  $("ng-filter-button", this.#target.owner.body).each((index,el) => {
315
315
 
316
- console.log(el, el.filterData);
316
+ //console.log(el, el.filterData);
317
317
 
318
318
  if (!el.filterData) return true;
319
319
 
320
- console.log(el, el.filterData);
320
+ //console.log(el, el.filterData);
321
321
 
322
322
  el.colnms.forEach(colnm => {
323
323
  oParam[colnm] = el.filterData;
@@ -445,14 +445,15 @@ class ngFilterPanel extends HTMLElement
445
445
  });
446
446
  */
447
447
 
448
- console.log(el.filterData);
449
- //el.filterData.forEach(o => {
450
- var idx = owner.fields.indexOf(o.colnm);
448
+ console.log(el.filterData, el.columns);
449
+
450
+ colnms.forEach(colnm => {
451
+ var idx = owner.fields.indexOf(colnm);
451
452
 
452
453
  if (idx >= 0) {
453
454
  data = data.filter(m => { return el.filterData.nineBinarySearch(m.v[idx] || '') >= 0; });
454
455
  }
455
- //});
456
+ });
456
457
 
457
458
  //data = data.filter(rowData => { return el.filterData.findIndex(item => (item.DATA || '') == (rowData[item.COLNM] || '') ) >= 0; });
458
459
  });