Wiki

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

Clear CGridView Filters, Sort & Pager

Updated 26 days ago by le_topHow-tos0 comments – viewed 2,094 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.

Using filters with CGridView and CArrayDataProvider

Updated about a year ago by yugeneHow-tos30 comments – viewed 49,825 times – ( +21 ) – version 1.1
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.

Force a User to Change Their Password (ChangePasswordFilter)

Updated 3 years ago by waterloomattTutorials2 comments – viewed 14,800 times – ( +16 / -2 ) – version 1.1
Sometimes you need to force a user to change their password after x number of days. This article describes how to implement this using a filter, ChangePasswordFilter.

CListView AJAX filtering

Updated 3 years ago by DragaTutorials17 comments – viewed 49,191 times – ( +17 ) – version 1.1
This tutorial shows how to filter CListView items by AJAX, and it's compatible with disabled JavaScript users In my case this has been done to filter users list

Using standard filters in CGridView custom fields

Updated 4 years ago by jwernerHow-tos4 comments – viewed 51,533 times – ( +17 ) – version 1.1
In this article I'll try to explain how to use standard quick search fields in CGridView with customized columns.For example: We have a record in a database with field switch having 0 or 1 values. After that we want a user to see on or off instead 1 or 0. So we do the usual thing: