src/Grid.php
public function addFilterColumn($names = null)
    {
        $this->menu->addItem(['Clear Filters'], new \atk4\ui\jsReload($this->table->reload, ['atk_clear_filter' => 1]));
        $this->table->setFilterColumn($names);

        return $this;
    }
public function addFilterColumn($names = null)
    {
        $this->menu->addItem(['Clear Filters'], new \atk4\ui\jsReload($this->table->reload, ['atk_clear_filter' => 1]));
        $this->table->setFilterColumn($names);

        return $this;
    }
public function addFilterColumn ( $ names = null ) { $ this -> menu -> addItem ( [ 'Clear Filters' ] , new \ atk4 \ ui \ jsReload ( $ this -> table -> reload , [ 'atk_clear_filter' => 1 ] ) ) ; $ this -> table -> setFilterColumn ( $ names ) ; return $ this ; }
An array of column name where filter is needed.
Leave empty to include all column in grid.

@param array|null $names An array with the name of column.

@throws Exception
@throws \atk4\core\Exception

@return $this
An array of column name where filter is needed . Leave empty to include all column in grid .