code: void onSliderChange(double min, double max) {
          if (selectedMin != min || selectedMax != max) {
              selectedMin = min;
              selectedMax = max;
  
              DataSetFilter filter = new DataSetFilter();
              CoreFunctionFilter columnFilter = new CoreFunctionFilter();
              columnFilter.setColumnId(dataColumnMin.getId());
              columnFilter.setType(CoreFunctionType.BETWEEN);
              filter.addFilterColumn(columnFilter);
  
              if (ColumnType.DATE.equals(dataColumnMin.getColumnType())) {
                  Date dateFrom = new Date((long) min);
                  Date dateTo = new Date((long) max);
                  columnFilter.setParameters(dateFrom, dateTo);
                  minDateEditor.setValue(dateFrom);
                  maxDateEditor.setValue(dateTo);
                  super.filterUpdate(filter);
              }
              else if (ColumnType.NUMBER.equals(dataColumnMin.getColumnType())) {
                  columnFilter.setParameters(min, max);
                  minNumberEditor.setValue(min);
                  maxNumberEditor.setValue(max);
                  super.filterUpdate(filter);
              }
          }
      }
docs: View callbacks