Cgridview And Pagination

Hi

I have a page with Cgridview, pagination enabled and also few buttons below the Cgridview. All functionalities work fine. But when I navigate using pagination, the buttons below the Cgridview displays above Cgridview.

I want the buttons to be displayed below the Cgridview. Please help me to fix this issue.

Thanks & Regards,

Vidhya

http://www.yiiframework.com/doc/api/1.1/CBaseListView#template-detail

Hi mbi,

Thanks for your reply. But using templates is for Cgridview and pagination.

What am asking is for few buttons [Like Add,Activate…] that are below the Cgridview and pagination.

Kindly help me out from this issue.

Thanks & Regards,

vidhya

oh, sorry for misunderstanding

seems, that i cant help you without looking at some code

please post the girdview code?

i did this thing by using CHtml::link(). and place it outside CGridView.


<?php echo CHtml::link('<img src="images/new.jpg" height="30px" width="100px"',array("mailformats/create")); ?>

it may help may help you. ::)

Hi ,

Thank you for all your reply.

Please find attached my view file.

Kindly let me know as to why am facing this issue.

Thanks & Regards,

Vidhya