Wiki

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

CGridView customized CCheckBoxColumn

Updated 8 months ago by CeBeTips2 comments – viewed 6,047 times – ( +5 ) – version 1.1
Hi friends,

CSqlDataProvider in CGridView

Updated 8 months ago by CeBeTutorials8 comments – viewed 9,037 times – ( +7 ) – 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 9 months ago by KonApazHow-tos13 comments – viewed 34,857 times – ( +23 ) – version 1.1
We can use a CJuiDatePicker for a CGridView inline filter.

Adding a date range search for CGridView the easy way

Updated about a year ago by mikewalenTips4 comments – viewed 18,285 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 about a year ago by yugeneHow-tos30 comments – viewed 49,810 times – ( +21 ) – version 1.1
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.

Dynamic parent and child CGridView on single view. Using $.ajax to update child gridview via controller, after row in parent gridview was clicked.

Updated about a year ago by Gerhard LiebenbergTutorials20 comments – viewed 66,276 times – ( +26 / -1 ) – version 1.1
This wiki is a step-by-step example explaining how the controller, model and the view's CGridView work together. It explains simple things - as well as more complex things that you will anyway quickly have to know. So, even if you don't use dynamic gridviews, take a morning off and thoroughly work through this tutorial. It should save you lots of struggling.

Multi Data Provider

Updated about a year ago by Sharon LavieTips0 comments – viewed 5,896 times – ( +1 )
Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).

Display image on CGridView column and open a fancy-box

Updated about a year ago by Ankit ModiTutorials0 comments – viewed 8,398 times – ( +1 / -1 )
1) Add a fancy-box extension on admin page

CGridView Date Range Without Cookies or Session (External Filtering)

Updated about a year ago by Maurizio Domba CerinHow-tos5 comments – viewed 7,753 times – ( +4 )
Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below:

How to Display tooltp(qtip) on CGridview dynamic

Updated about a year ago by softarkTips1 comment – viewed 5,387 times – ( -1 )
Hi Friends,