You are here

public function MyReadFilter::readCell in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Examples/24readfilter.php \MyReadFilter::readCell()

* Should this cell be read? * *

Parameters

$column String column index: * @param $row Row index * @param $worksheetName Optional worksheet name * @return boolean

Overrides PHPExcel_Reader_IReadFilter::readCell

File

vendor/phpoffice/phpexcel/Examples/24readfilter.php, line 47

Class

MyReadFilter

Code

public function readCell($column, $row, $worksheetName = '') {

  // Read title row and rows 20 - 30
  if ($row == 1 || $row >= 20 && $row <= 30) {
    return true;
  }
  return false;
}