Wiki

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

Clear CGridView Filters, Sort & Pager

Created about a month ago by le_topHow-tos0 comments – viewed 2,326 times – ( +1 ) – version 1.1
Clearing CGridView filters and sort orders from the web pages, is usefull for the end user. Yii does not seem to propose a standard method. Furthermore, this is especially usefull when filters are "remembered" in the user's session.

How to keep filters simple in CGridView

Created about a month ago by PeppeHow-tos2 comments – viewed 1,778 times – version 1.1
The problem is not new: after setting some filters in a grid (typically in admin view), and gone to another page, returning in the grid's page I would like to find the filters with previous setting mantained.

Displaying, Sorting and Filtering Model Relations on a GridView

Created 8 months ago by Antonio RamirezHow-tos2 comments – viewed 9,377 times – ( +8 ) – version 2.0
One of the things you will find tricky to implement is the the sorting and filtering of a GridView's column that displays related model data.

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

Created 2 years ago by yJeroenTutorials8 comments – viewed 44,230 times – ( +19 ) – version 1.1
This tutorial gives you multiple options of how to fully implement showing, sorting and filtering related data in gridviews.