src/Extensions/GridFieldBetterButtonsItemRequest.php
public function cancel()
    {
        Controller::curr()->getResponse()->addHeader("X-Pjax", "Content");
        return Controller::curr()->redirect($this->getBackLink());
    }
public function cancel()
    {
        Controller::curr()->getResponse()->addHeader("X-Pjax", "Content");
        return Controller::curr()->redirect($this->getBackLink());
    }
Goes back to list view

@param array The form data
@param Form The form object