Wiki

Articles tagged with "sort"X
Displaying 1-4 of 4 result(s).

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

Created 2 months ago by Kartik VTutorials11 comments – viewed 5,174 times – ( +6 ) – 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)

Created 4 months ago by KonApazHow-tos5 comments – viewed 9,175 times – ( +5 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.

CGridView, CListView and CActiveDataProvider

Created about a year ago by softarkTutorials21 comments – viewed 66,701 times – ( +45 ) – 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 2 years ago by softarkHow-tos13 comments – viewed 26,278 times – ( +28 ) – version 1.1
Let's say we have two models and relation between them: