src/Html/Options/HasColumns.php
public function removeColumn(...$names)
    {
        foreach ($names as $name) {
            $this->collection = $this->collection->filter(function (Column $column) use ($name) {
                return $column->name !== $name;
            })->flatten();
        }

        return $this;
    }
public function removeColumn(...$names)
    {
        foreach ($names as $name) {
            $this->collection = $this->collection->filter(function (Column $column) use ($name) {
                return $column->name !== $name;
            })->flatten();
        }

        return $this;
    }
public function removeColumn ( ... $ names ) { foreach ( $ names as $ name ) { $ this -> collection = $ this -> collection -> filter ( function ( Column $ column ) use ( $ name ) { return $ column -> name !== $ name ; } ) -> flatten ( ) ; } return $ this ; }
Remove column by name.

@param array $names
@return $this
Remove column by name .