src/Forms/GridField/GridFieldDetailForm_ItemRequest.php
public function getEditLink($id)
    {
        return Controller::join_links(
            $this->gridField->Link(),
            'item',
            $id,
            '?gridState=' . urlencode($this->gridField->getState(false)->Value())
        );
    }
public function getEditLink($id)
    {
        return Controller::join_links(
            $this->gridField->Link(),
            'item',
            $id,
            '?gridState=' . urlencode($this->gridField->getState(false)->Value())
        );
    }
public function getEditLink ( $ id ) { return Controller :: join_links ( $ this -> gridField -> Link ( ) , 'item' , $ id , '?gridState=' . urlencode ( $ this -> gridField -> getState ( false ) -> Value ( ) ) ) ; }
Gets the edit link for a record

@param  int $id The ID of the record in the GridField
@return string
Gets the edit link for a record