@yesilyazilim/web.spa 1.1.16 → 1.1.17

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/index.js CHANGED
@@ -7946,11 +7946,19 @@ let $1b4e3c1abfa7ee85$export$df30df7ec97b32b5 = class DataTable extends (0, $ea0
7946
7946
  setStaticFilter(staticfilter) {
7947
7947
  if (staticfilter == this._staticFilter) return;
7948
7948
  this._staticFilter = staticfilter;
7949
- this.refresh();
7949
+ this.refreshRemoteData();
7950
7950
  }
7951
- refresh() {
7952
- var _a;
7953
- (_a = this._table) === null || _a === void 0 || _a.redraw(true);
7951
+ refreshRemoteData() {
7952
+ this.applyFilterGroup({
7953
+ key: '_refresh',
7954
+ andFilters: [
7955
+ {
7956
+ field: 'dummy__',
7957
+ type: '=',
7958
+ value: Date.now()
7959
+ }
7960
+ ]
7961
+ });
7954
7962
  }
7955
7963
  _createTabulatorFilterFromActiveGroups() {
7956
7964
  const andFilters = [];
@@ -8615,6 +8623,7 @@ let $1b4e3c1abfa7ee85$export$df30df7ec97b32b5 = class DataTable extends (0, $ea0
8615
8623
  si.staticFilter = this._staticFilter;
8616
8624
  const transformFilter = (f, arr)=>{
8617
8625
  let rField = f.field;
8626
+ if (rField == 'dummy__') return;
8618
8627
  if (rField.startsWith('_')) rField = rField.substring(1);
8619
8628
  arr.push({
8620
8629
  field: rField,