From: Edward Date: Thu, 13 Mar 2014 07:06:13 +0000 (+0800) Subject: SimpleExcel.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=3afd4946d2f19f97b79343dd8cb85a367c958543;p=Pman.Core SimpleExcel.php --- diff --git a/SimpleExcel.php b/SimpleExcel.php index 697c6304..b9788c1d 100644 --- a/SimpleExcel.php +++ b/SimpleExcel.php @@ -330,6 +330,7 @@ class Pman_Core_SimpleExcel extends Pman if($worksheet_name == 'event' && $start_row == 2 && $c == 1){ $validator = $this->workbook->addValidator(); $validator->_type = 0x03; + $validator->setFormula1('=Q2:Q10'); $this->worksheet->setValidation(2,1,2,1,$validator); $this->start_row++;