I decided to use CSqlDataProvider and it is working OK, but I can’t make reference to the $data property on the CGridView definition, which I can use just fine if I use a CActiveDataProvider as the CGridView data provider.
'header'=>' My Field 1',
'header'=>'My Field 1 Again',
In this example, the column “My Field 1” works OK, but the column “My Field 1 Again” shows blank data. Am I doing something wrong? I have to use the ‘value’ property because I need to make additional formatting work to the value I am getting from the data provider.