At last I got the answer for my question..
I'm using CHtml::link
instead of using ajax
.
view :
CHtml::link(
CHtml::encode('id'),
array('controller/action','id'=>'id'),
array('href'=>'/index.php/controller/action',
'target'=>'_blank')
)
Controller :
public function action
{
//doing some php code here to create $dataProvider
$this->render('view',array('dataProvider'=>$dataProvider));
}