Suppose you have Products,Categories and each product belongs in many categories
Suppose you have Products,Categories and each product belongs in many categories
This wiki explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns.
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.
CGridView (or CListView) together with CActiveDataProvider is a very powerful combination of the built-in tools of Yii. But how do they work together to accomplish their fantastic functions? And what are you expected to do to use them and to customize their behaviors? This article explains the very basics of them.