Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Tbgridview Not Working In Ie8

$
0
0
Hi all,

I have integrated yii bootstrap extension in to my site. I have a page where I am displaying a Grid view. Though its bootstrap, I have used TbGridView. The basic GridView functionality like, sort, paging, filtering, everything works fine in all browsers except IE8. Whenever I tried to perform sort, paging, filtering in Grid, the Grid disappears. It happens only in IE8. I have checked the jquery-yiigridview.js by debugging. especially ,

update: function (options) {
But found nothing special. Only thing I came to understand that, In IE8, the response is not appended to the Grid (#id). Something is missing related to the ajax rendering in IE8.

Strange thing is that, I have another page where I am using a pop up using the renderPartial method. There is also a TbGridView. But that works fine in IE8.

More info:

Controller:


public function actionRate()
	{
		$requestModel = new Rate('search');		
 		$requestModel->unsetAttributes();  // clear any default values
                if(isset($_GET['Rate']))
                $requestModel->attributes=$_GET['Rate'];
		    	               
               $this->render('requestList', array('model'=>$requestModel)); 
	}




View:

<?php
      
$this->widget('bootstrap.widgets.TbGridView', array(

	'id'=>'request-grid-list',
    'filter'=>$model,
	'type'=>'striped bordered condensed',
    'dataProvider'=>$model->search(),	
	'columns'=>array(		
		array(
			'name' => 'ratename',
			'type'=>'raw',
			'value' => '$data->ratename',
		)
						
	),
)); 
 
?>


Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>