GridView.php
protected function isGroupEdge($name, $row)
    {
        $result = array();
        foreach ($this->_groups[$name] as $column) {
            if ($column['start'] == $row) {
                $result['start'] = $row;
                $result['group'] = $column;
            }
            if ($column['end'] == $row) {
                $result['end'] = $row;
                $result['group'] = $column;
            }
            if (count($result)) break;
        }
        return $result;
    }
protected function isGroupEdge($name, $row)
    {
        $result = array();
        foreach ($this->_groups[$name] as $column) {
            if ($column['start'] == $row) {
                $result['start'] = $row;
                $result['group'] = $column;
            }
            if ($column['end'] == $row) {
                $result['end'] = $row;
                $result['group'] = $column;
            }
            if (count($result)) break;
        }
        return $result;
    }
protected function isGroupEdge ( $ name , $ row ) { $ result = array ( ) ; foreach ( $ this -> _groups [ $ name ] as $ column ) { if ( $ column [ 'start' ] == $ row ) { $ result [ 'start' ] = $ row ; $ result [ 'group' ] = $ column ; } if ( $ column [ 'end' ] == $ row ) { $ result [ 'end' ] = $ row ; $ result [ 'group' ] = $ column ; } if ( count ( $ result ) ) break ; } return $ result ; }
Is current row start or end of group in particular column
@param string $name the column name
@param int $row the row index
@return array
Is current row start or end of group in particular column