In the columns configuration of a CGridView I have a column like:
array(
'name' => 'title',
'value' => 'CHtml::ajaxLink($data->title, array("post/view", "id" => $data->id), array("success" => "#box"))',
)
The grid shows the data but the JavaScript code isn’t generated and of course the link don’t work. The same happens if a want to set a onclick event for a value. Nothing happens. Suggestions?