I render a form in a JUI Dialog for the user to select an entry. The form contains a CGridView. Here is my controller code:
Yii::app()->clientScript->scriptMap['jquery.js'] = false;
Yii::app()->clientscript->scriptMap['jquery-ui.min.js'] = false;
YII_DEBUG ? Yii::app()->clientscript->scriptMap['jquery.js'] = false : Yii::app()->clientscript->scriptMap['jquery.min.js'] = false;
Yii::app()->clientscript->scriptMap['jquery.yiigridview.js'] = false;
$this->renderPartial('_form', array(
'model' => $model,
'items' => $items,
'bins' => $bins,
), false, true);
Yii::app()->end();
The first time the dialog is displayed, the user can click a row in the grid view and the row is highlighted. They then close the dialog. The next time the dialog is displayed, everything works, however, if you click a row in the grid view the row is not highlighted. The user does not know which row they clicked ojn.
What can I do to get this to work?