src/DataTableAbstract.php
public function filter(callable $callback, $globalSearch = false)
    {
        $this->autoFilter      = $globalSearch;
        $this->isFilterApplied = true;
        $this->filterCallback  = $callback;

        return $this;
    }
public function filter(callable $callback, $globalSearch = false)
    {
        $this->autoFilter      = $globalSearch;
        $this->isFilterApplied = true;
        $this->filterCallback  = $callback;

        return $this;
    }
public function filter ( callable $ callback , $ globalSearch = false ) { $ this -> autoFilter = $ globalSearch ; $ this -> isFilterApplied = true ; $ this -> filterCallback = $ callback ; return $ this ; }
Set auto filter off and run your own filter.
Overrides global search.

@param callable $callback
@param bool     $globalSearch
@return $this
Set auto filter off and run your own filter . Overrides global search .