Wiki

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

Sort and save order of model-elements drag & drop

Created 4 months ago by KonApazTutorials2 comments – viewed 2,952 times – ( +2 ) – 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

Created 5 months ago by Kartik VTutorials5 comments – viewed 4,739 times – ( +27 / -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.

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

Created 8 months ago by Kartik VTutorials19 comments – viewed 15,781 times – ( +34 / -4 ) – 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 10 months ago by KonApazHow-tos5 comments – viewed 16,793 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 2 years ago by softarkTutorials21 comments – viewed 81,205 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 30,411 times – ( +29 ) – version 1.1
Let's say we have two models and relation between them: