Wiki

Articles tagged with "sort", sorted by ratingX
Displaying 1-6 of 6 result(s).

CGridView, CListView and CActiveDataProvider

Created 3 years ago by softarkTutorials22 comments – viewed 110,554 times – ( +46 ) – version 1.1
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.

Searching and Sorting by Count of Related Items in CGridView

Created 4 years ago by softarkHow-tos13 comments – viewed 41,079 times – ( +31 ) – version 1.1
Let's say we have two models and relation between them:

Filter & Sort by calculated/related fields in GridView Yii 2.0

Created 2 years ago by Kartik VTutorials23 comments – viewed 98,551 times – ( +55 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Filter & Sort by Summary Data in GridView Yii 2.0

Created 2 years ago by Kartik VTutorials6 comments – viewed 30,943 times – ( +39 / -4 ) – version 2.0
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.

Take more control of CGridview and model searching (related model or another controller)

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos5 comments – viewed 28,384 times – ( +5 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.

Sort and save order of model-elements drag & drop

Created 2 years ago by Kostas Apazidis (KonApaz)Tutorials2 comments – viewed 6,075 times – ( +2 ) – version 1.1
Suppose you have Products,Categories and each product belongs in many categories