/** * @param int $itemsPerPage - How many items per page should show up */ public function __construct($itemsPerPage = null) { parent::__construct($itemsPerPage); $this->removeComponentsByType("GridFieldDeleteAction"); }