code/panels/DashboardGridFieldPanel.php
protected function getTabForGrid() {
		if(!$this->SubjectPage()->exists() || !$this->GridFieldName) return false;
		$fields = $this->SubjectPage()->getCMSFields();
		if($fields->hasTabSet()) {
			foreach($fields->fieldByName("Root")->Tabs() as $tab) {
				if($tab->fieldByName($this->GridFieldName)) {
					return $tab->getName();
				}
			}
		}
		return false;
	}
protected function getTabForGrid() {
		if(!$this->SubjectPage()->exists() || !$this->GridFieldName) return false;
		$fields = $this->SubjectPage()->getCMSFields();
		if($fields->hasTabSet()) {
			foreach($fields->fieldByName("Root")->Tabs() as $tab) {
				if($tab->fieldByName($this->GridFieldName)) {
					return $tab->getName();
				}
			}
		}
		return false;
	}
Gets the name of the tab for the selected grid field name. Allows direct linking
to the edit form to expose the grid.

@return string