Data grids are a great feature in Yii framework.
When the grids must be loaded via AJAX there could be some problems mainly related to multiple binding of grid JS init code.
This article brings a practical approach to handling multiple CGridview's via AJAX and renderPartial.
Here is a short tip from our team that helps you optimize the page load speed.
In one of our applications we have a page listing patients of a practice. As the practices grew their business, we noticed a slowdown when loading that page.
The initial implementation was using a CArrayDataProvider with the data retrieved using an SQL query. Therefore the slowdowns' cause was that on every page load the data was retrieved from the database, and after only the 10 needed results were taken out and displayed. The solution was replacing the implementation with CSqlDataProvider