I have in my model Events the code generated method search(), which returns with $this->search()->data an array of Events objects. However I want to have an associative array of Events data for my jqGrid with CDbCriteria not
"search" method returns a CActiveDataProvider, which will give you back an array of CAcitveRecord instances when you call CActiveDataProvider::getData() method. You can not get an associative array directly using CActiveDataProvider.
Try using CDbCommandBuilder with which you can use CDbCriteria for constructing SQLs.