payu2107 / zii

Automatically exported from code.google.com/p/zii
0 stars 0 forks source link

Typo in CGridview's comment #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Display the contents of the table using CGridView.
2. Made the code as follows according to the comment in the source.
     array(
       'dataField'=>'date',
       'dataExpression'=>'date("M j, Y", $data)',
     ),

What is the expected output? What do you see instead?
 String should be displayed but none.
 The code of mine should be changed as follows, but is not documented.
     array(
       'dataField'=>'date',
       'dataExpression'=>'date("M j, Y", $data[date])',
     ),

What version of the product are you using? On what operating system?
1.1rc-dev (r1536) on Linux

Please provide any additional information below.

Original issue reported on code.google.com by mocapapa...@gtempaccount.com on 1 Dec 2009 at 1:46

GoogleCodeExporter commented 8 years ago
This issue has been resolved in r72

Original comment by mocapapa...@gtempaccount.com on 15 Dec 2009 at 12:09

GoogleCodeExporter commented 8 years ago

Original comment by qiang.xue on 9 Jan 2010 at 8:41