SimpleExcel.php
authorEdward <edward@roojs.com>
Mon, 22 Jul 2013 09:12:38 +0000 (17:12 +0800)
committerEdward <edward@roojs.com>
Mon, 22 Jul 2013 09:12:38 +0000 (17:12 +0800)
SimpleExcel.php

index 2d5730e..c8cf7c1 100644 (file)
@@ -24,6 +24,7 @@
             array(
                 'header'=> "Thumbnail",
                 'dataIndex'=> 'id',
+ *              'dataFormat' => 'string' // to force a string..
                 'width'=>  75,
                 'renderer' => array($this, 'getThumb'),
  *              'color' => 'yellow', // set color for the cell which is a header element