You are here

public function PHPExcel_Worksheet::setBreakByColumnAndRow in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php \PHPExcel_Worksheet::setBreakByColumnAndRow()

Set break on a cell by using numeric cell coordinates

Parameters

integer $pColumn Numeric column coordinate of the cell:

integer $pRow Numeric row coordinate of the cell:

integer $pBreak Break type (type of PHPExcel_Worksheet::BREAK_*):

Return value

PHPExcel_Worksheet

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php, line 1665

Class

PHPExcel_Worksheet
PHPExcel_Worksheet

Code

public function setBreakByColumnAndRow($pColumn = 0, $pRow = 1, $pBreak = PHPExcel_Worksheet::BREAK_NONE) {
  return $this
    ->setBreak(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow, $pBreak);
}