Wiki

Articles tagged with "cgridview", sorted by date (updated)X
Displaying 21-30 of 65 result(s).

Update CGridview row separately using ajax request

Updated 2 years ago by Kostas Apazidis (KonApaz)How-tos9 comments – viewed 12,965 times – ( +6 ) – version 1.1
There are cases you want to update a record on CGridview directly

two or more different collected data in one CGridView

Updated 2 years ago by CeBeHow-tos2 comments – viewed 8,778 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.

Yii CGridView add custom button

Updated 2 years ago by CeBeHow-tos1 comment – viewed 28,709 times – ( +6 ) – version 1.1
Hi buddies !, This tutorial shows about how to add a custom button with your own icon for your CGridView of Yii framework

Take more control of CGridview and model searching (related model or another controller)

Updated 2 years ago by CeBeHow-tos5 comments – viewed 28,421 times – ( +5 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.

Saving CGridView filter

Updated 2 years ago by CeBeTutorials5 comments – viewed 6,912 times – ( +27 ) – version 1.1
In this tutorial we will try to save cgridview filter(search) with title etc. basically we want to save two forms data i.e one represents filters and other data about filters like title, description etc. You can define your own structure for filter saving table here are some basic steps

CGridView customized CCheckBoxColumn

Updated 2 years ago by CeBeTips2 comments – viewed 10,478 times – ( +5 ) – version 1.1
Hi friends,

CSqlDataProvider in CGridView

Updated 2 years ago by CeBeTutorials8 comments – viewed 19,247 times – ( +8 ) – version 1.1
In this wiki I will show how could use a CSqlDataProvider in CGridView with specific features

Using CJuiDatePicker for CGridView filter

Updated 2 years ago by Kostas Apazidis (KonApaz)How-tos21 comments – viewed 47,171 times – ( +27 ) – version 1.1
We can use a CJuiDatePicker for a CGridView inline filter.

Adding a date range search for CGridView the easy way

Updated 2 years ago by mikewalenTips6 comments – viewed 27,343 times – ( +12 ) – version 1.1
After a lot of research, everything I found on adding date range searching to a CGridView advanced search form seemed to involve adding two new public variables (e.g. $date_from, $date_to), 'safe' rules for the new variables, and a rather chunky if/elseif/else check in the search() method. This probably isn't a hassle for most, but because many of the tables in my database contain two or three and sometimes four date columns (e.g. date_created, date_modified, date_deleted etc.), it meant I was having to add up to eight public variables, the corresponding safe rules, and modifying the search() criteria for each date attribute. So, I set about creating a better way and I thought I'd share my work with the community.

Using filters with CGridView and CArrayDataProvider

Updated 2 years ago by yugeneHow-tos33 comments – viewed 66,159 times – ( +22 ) – version 1.1
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.