class BriskTableFunctions {
    constructor(props) {
        this.properties = props;
    }

    setSelectedRowsData(setSelectedRowsData) {
        this.selectedRowsData = setSelectedRowsData;

        return;
    }

     refresh(_this) {
         this.properties.filterData('');
         this.properties.setInitState({});
         this.properties.getSourceList(this.properties.dataUrl, this.properties.dataProviderFunction);
         this.properties.initDataHandlerState();

         return this;
    }

    fetchSelectedRows(id) {
        this.properties.getSelectedRowsData(id);

        return this;
    }
    filterData(id, filterValue) {
        this.properties.filterData(filterValue);

        return this;
    }
}

export default BriskTableFunctions;
class BriskTableFunctions {
    constructor(props) {
        this.properties = props;
    }

    setSelectedRowsData(setSelectedRowsData) {
        this.selectedRowsData = setSelectedRowsData;

        return;
    }

     refresh(_this) {
         this.properties.filterData('');
         this.properties.setInitState({});
         this.properties.dataFetchAction(this.properties.dataUrl, this.properties.dataProviderFunction);
         this.properties.initDataHandlerState();

         return this;
    }

    fetchSelectedRows(id) {
        this.properties.getSelectedRowsData(id);

        return this;
    }
    filterData(id, filterValue) {
        this.properties.filterData(filterValue);

        return this;
    }
}

export default BriskTableFunctions;
fix bug: Refresh table doesn`t working properly