public function getColumnWidthBetween($columnA, $columnB) {
        $width = 0;
        $check = false;
        foreach ($this->columnDefinition as $key => $def) {
            // begin sum either from start, or from column A
            if ($key == $columnA || !$columnA) {
                $check = true;
            }
            // stop sum if we want width from start to column B
            if (!$columnA && $key == $columnB) {
                break;
            }
            if ($check) {
                $width += $def['width'];
            }
            if ($key == $columnB) {
                break;
            }
        }
        return $width;
    }
public function getColumnWidthBetween($columnA, $columnB) {
        $width = 0;
        $check = false;
        foreach ($this->columnDefinition as $key => $def) {
            // begin sum either from start, or from column A
            if ($key == $columnA || !$columnA) {
                $check = true;
            }
            // stop sum if we want width from start to column B
            if (!$columnA && $key == $columnB) {
                break;
            }
            if ($check) {
                $width += $def['width'];
            }
            if ($key == $columnB) {
                break;
            }
        }
        return $width;
    }
public function getColumnWidthBetween ( $ columnA , $ columnB ) { $ width = 0 ; $ check = false ; foreach ( $ this -> columnDefinition as $ key => $ def ) { // begin sum either from start, or from column A if ( $ key == $ columnA || ! $ columnA ) { $ check = true ; } // stop sum if we want width from start to column B if ( ! $ columnA && $ key == $ columnB ) { break ; } if ( $ check ) { $ width += $ def [ 'width' ] ; } if ( $ key == $ columnB ) { break ; } } return $ width ; }
Get width between two columns. Widths of these columns are included in
the sum.

Example: $table->getColumnWidthBetween('B', 'D');
<pre>
| A | B | C | D | E |
|   |-> | ->| ->|   |
</pre>

If column A is empty, behave like {@link TcTable::getColumnWidthUntil()}.
If column B is empty, behave like {@link TcTable::getColumnWidthFrom()}.

@param string $columnA start column
@param string $columnB last column
@return float
Get width between two columns . Widths of these columns are included in the sum .