CListView acts weird

Hi there,

IE7 doesn’t support display: table-cell, but IE7 is a must in the application I am developing and I have to vertically center some of the content that can be different in height.

That’s why I had to change the default “div” to “table”. What I found out is that the actual table is put in the end rather than in place of {items}, meaning the pager is in the wrong place. It generates an empty <div class=“items”></div> instead. Am I doing something wrong?




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

	'dataProvider'=>$dataProvider,

	'itemView'=>'_view',    

        'sortableAttributes' => array(

            'product_price',

            'product_name'

         ),

        'tagName' => 'table',

        'template' => '{sorter}{items}{pager}',

));



whoops, my bad.

I had to use itemsTagName instead

Please perpend [SOLVED] to topic name.