SimpleExcel.php
[Pman.Core] / SimpleExcel.php
index b9db76c..65e611a 100644 (file)
@@ -330,10 +330,11 @@ class Pman_Core_SimpleExcel extends Pman
                 if($worksheet_name == 'event' && $start_row == 2 && $c == 1){
                     $validator = $this->workbook->addValidator();
 //                    $validator->setList("a b c");
-//                    $validator->_fixedList = 1;
+                    $validator->_fixedList = 1;
                     $validator->_type = 3;
                     $validator->_incell=true;
-//                    $validator->setFormula1('a,b,c');
+                    $validator->setFormula1('A9');
+                    
 //                    $validator->setList('Q2:Q10');
                     
                     $this->worksheet->setValidation(2,1,2,1,$validator);