Gridview Within Tabs

I’m using /site/index.php to display the gridview of a model(admin.php). Now I used the below code to display the gridwiew.




<?php


$this->widget('zii.widgets.jui.CJuiTabs', array(

    'tabs'=>array(

        'IVR'=>array('ajax'=>'/map/admin','id'=>'ID'),

      

    ),

    // additional javascript options for the tabs plugin

    'options'=>array(

        'collapsible'=>false,

        'event'=>'mouseover',

    ),

));


?>



Nothing is displaying but the tab.

What should I do to display the Gridview inside the tab.

Hi,

Check for the ajax url. Keep your CGridView in the ajax file itself. It will work!

Even if it does’t work try with Yii CTabView