cilog-lib 1.3.6 → 1.3.7
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.
package/fesm2015/cilog-lib.mjs
CHANGED
|
@@ -783,20 +783,19 @@ class CilogTableComponent {
|
|
|
783
783
|
this.onFilter.emit({ column: col, value: value, filteredValue: this.table.filteredValue });
|
|
784
784
|
}
|
|
785
785
|
filter(col, val, filter) {
|
|
786
|
-
|
|
787
|
-
if (this.table.filterTimeout) {
|
|
788
|
-
|
|
789
|
-
}
|
|
790
|
-
if (!this.table.isFilterBlank(val)) {
|
|
791
|
-
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
this.table.
|
|
797
|
-
this.table.
|
|
798
|
-
this.table.
|
|
799
|
-
this.table.scroller.viewInit();
|
|
786
|
+
//// Copier - Coller de la méthode filter() de table.ts de PrimeNG sans la désynchronisation causée par filterDelay (setTimeout)
|
|
787
|
+
//if (this.table.filterTimeout) {
|
|
788
|
+
// clearTimeout(this.table.filterTimeout);
|
|
789
|
+
//}
|
|
790
|
+
//if (!this.table.isFilterBlank(val)) {
|
|
791
|
+
// this.table.filters[col.id] = { value: val, matchMode: filter };
|
|
792
|
+
//} else if (this.table.filters[col.id]) {
|
|
793
|
+
// delete this.table.filters[col.id];
|
|
794
|
+
//}
|
|
795
|
+
//this.table._filter();
|
|
796
|
+
//this.table.filterTimeout = null;
|
|
797
|
+
//this.table.anchorRowIndex = null;
|
|
798
|
+
//this.table.scroller.viewInit();
|
|
800
799
|
//this.table.scroller.setInitialState();
|
|
801
800
|
}
|
|
802
801
|
isModeCheckboxSelection() {
|