Wiki

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

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

Updated 2 years ago by Gerhard LiebenbergTutorials20 comments – viewed 86,293 times – ( +28 / -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.

Display image on CGridView column and open a fancy-box

Updated 3 years ago by Ankit ModiTutorials0 comments – viewed 11,571 times – ( +1 / -1 )
1) Add a fancy-box extension on admin page

How to Display tooltp(qtip) on CGridview dynamic

Updated 3 years ago by softarkTips1 comment – viewed 8,002 times – ( -1 )
Hi Friends,

CGridView, CListView and CActiveDataProvider

Updated 3 years ago by softarkTutorials22 comments – viewed 112,187 times – ( +46 ) – 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.

Search a file size range in CGridView

Updated 3 years ago by CrazyCatTips0 comments – viewed 5,815 times – ( +2 )
Working on a report system of files transfert, I had to let the users simply find files by size. I didn't want to have two fields, I prefer a simple text input, with "human syntax".

Limit a CGridView field to some preset length.

Updated 3 years ago by le_topHow-tos1 comment – viewed 11,823 times – ( +13 ) – version 1.1
Sometimes text inside a gridview column is just too long. That's why I figured out a way to make the column smaller while still providing the information.

CGridView: Adding behaviors from configuration, and template items from behaviors to CGridView

Updated 3 years ago by le_topTips0 comments – viewed 8,797 times – ( +5 ) – version 1.1
Changing the way a CGridView is rendered from the configuration file, or through behaviors specified at the moment it is used, is handy to extend a CGridView without creating tons of different classes for it. I am surprised that this is not in the default implementation, so I made my default CGridView implementation.

CGridView: Render customized/complex datacolumns

Updated 3 years ago by JobloTips13 comments – viewed 144,897 times – ( +74 ) – version 1.1
If you have to display a overview of related data in a table, you can use the CListView, create your view with table/tr/td tags and implement db-queries in the view to display detaildata of the current (master-)record.
tags: CGridView

Adding a link to a CDataColumn

Updated 3 years ago by le_topTips6 comments – viewed 14,792 times – ( +3 ) – version 1.1
Backoffice Grid Views often list information like Posts for a blog while showing at the same time linked information like the User who wrote that post. For more efficiency, it is appropriate that the User is displayed as a link to the User detail page.

Filter / Search with CListView

Updated 3 years ago by JohnPollardHow-tos9 comments – viewed 40,297 times – ( +29 ) – 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.