src/Charcoal/Ui/Layout/LayoutTrait.php
public function cellRowIndex($position = null)
    {
        if ($position === null) {
            $position = $this->position();
        }
        $first = $this->rowFirstCellIndex($position);

        return ($position - $first);
    }
public function cellRowIndex($position = null)
    {
        if ($position === null) {
            $position = $this->position();
        }
        $first = $this->rowFirstCellIndex($position);

        return ($position - $first);
    }
public function cellRowIndex ( $ position = null ) { if ( $ position === null ) { $ position = $ this -> position ( ) ; } $ first = $ this -> rowFirstCellIndex ( $ position ) ; return ( $ position - $ first ) ; }
Get the cell index in the current row

@param integer $position Optional. Forced position.
@return integer
Get the cell index in the current row