Wiki

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

Searching and Sorting by Count of Related Items in CGridView

Updated 2 years ago by softarkHow-tos14 comments – viewed 45,583 times – ( +32 / -1 ) – version 1.1
Let's say we have two models and relation between them:

Sort and save order of model-elements drag & drop

Updated 3 years ago by Kostas Apazidis (KonApaz)Tutorials2 comments – viewed 7,930 times – ( +2 / -1 ) – version 1.1
Suppose you have Products,Categories and each product belongs in many categories

Filter & Sort by Summary Data in GridView Yii 2.0

Updated 3 years ago by Kartik VTutorials7 comments – viewed 42,498 times – ( +40 / -5 ) – 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.

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

Updated 3 years ago by Kartik VTutorials25 comments – viewed 149,918 times – ( +56 / -5 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

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

Updated 3 years ago by CeBeHow-tos5 comments – viewed 31,506 times – ( +5 / -1 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.

CGridView, CListView and CActiveDataProvider

Updated 4 years ago by softarkTutorials22 comments – viewed 120,083 times – ( +46 / -1 ) – 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.