Wiki

Articles tagged with "filter", sorted by ratingX
Displaying 1-10 of 14 result(s).

CGridView, CListView and CActiveDataProvider

Created 2 years ago by softarkTutorials21 comments – viewed 85,645 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 31,503 times – ( +29 ) – version 1.1
Let's say we have two models and relation between them:

Filter / Search with CListView

Created 3 years ago by JohnPollardHow-tos7 comments – viewed 32,635 times – ( +28 ) – version 1.1
This is what I did. Its the EASIEST solution that I know of. I just reused the advanced search done in CGridView.

Using CJuiDatePicker for CGridView filter

Created 2 years ago by softarkHow-tos13 comments – viewed 34,840 times – ( +23 ) – version 1.1
We can use a CJuiDatePicker for a CGridView inline filter.

Using filters with CGridView and CArrayDataProvider

Created 3 years ago by marcovtwoutHow-tos30 comments – viewed 49,793 times – ( +21 ) – version 1.1
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.

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

Created 10 months ago by Kartik VTutorials20 comments – viewed 21,511 times – ( +35 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Filter & Sort by Summary Data in GridView Yii 2.0

Created 7 months ago by Kartik VTutorials5 comments – viewed 6,764 times – ( +29 / -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.

Search method of a model for filters when using dates - unixtimestamp in database

Created 3 years ago by MukkeTips1 comment – viewed 23,345 times – ( +10 ) – version 1.1
I ran into a problem and on irc we worked it out. Since there is a lack on information on filters in genral i thought i'd start sharing all my findings, might be usefull for other people.

Load the Yii-Bootstrap Extension on Specific Actions

Created 2 years ago by chuntleyHow-tos5 comments – viewed 15,578 times – ( +10 ) – version 1.1
A big problem I've hit with the Yii-Bootstrap extension is that all AJAX requests are initializing Bootstrap because of preload. This is a huge waste of resources, especially when using AJAX-based file uploaders that split the file into chunks. Large file uploads using that method could be initializing bootstrap hundreds of times.
tags: bootstrap, filter

CGridView keep focus on the control after filtering

Created 2 years ago by jayalaHow-tos2 comments – viewed 7,941 times – ( +6 ) – version 1.1
You can find the reason why I wrote this article here.
tags: CGridView, filter