Wiki

Articles tagged with "cgridview"X
Displaying 21-30 of 38 result(s).

Change buttons on our CGridView extending yii

Created about a year ago by sensorarioTips4 comments – viewed 13,549 times – ( +9 )
In this tip, I'll help you to change in few second buttons of your CGridView. I hope you like it =).

Searching and sorting by related model in CGridView

Created about a year ago by redguyTutorials49 comments – viewed 58,857 times – ( +77 )
Lets say we have two models and relation between them:

CGridView: Render customized/complex datacolumns

Created about a year ago by JobloTips7 comments – viewed 57,080 times – ( +55 )
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

CGridView: Update/create records in a CJuiDialog

Created about a year ago by JobloTips10 comments – viewed 20,999 times – ( +11 )
My article Display the full record in a CJuiDialog uses ajax to view a record in dialog on clicking the 'view-icon'.

CGridView: Display the full record (actionView) in a CJuiDialog

Created about a year ago by JobloTips7 comments – viewed 21,556 times – ( +13 )
If you show a model (with a lot of attributes) partially in a CGridView, it can be helpful when the user can take a quick look at the full record with all attributes without displaying the view as a page and afterwards returning back to the gridview.

Special $variables in CGridView and CListView

Created about a year ago by Steve FriedlTips8 comments – viewed 21,783 times – ( +18 / -1 )
The popular CListView and CGridView widgets each take a data provider and iterate over each data object produced, calling the user's code to render each row one at a time, and most are familiar with the use of the $data variable to represent the current model object or array.

Creating a jQueryUI Sortable CGridView

Created about a year ago by blindMoeHow-tos13 comments – viewed 16,922 times – ( +34 )
I have had to do this a couple of times now so I figured I would share it with the community. I am going to keep this short because I really hope that you are familiar with jQueryUI's Sortable class before starting this tutorial.

Using filters with CGridView and CArrayDataProvider

Created about a year ago by marcovtwoutHow-tos12 comments – viewed 24,258 times – ( +10 )
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.

Filter / Search with CListView

Created about a year ago by JohnPollardHow-tos5 comments – viewed 17,486 times – ( +21 )
This is what I did. Its the EASIEST solution that I know of. I just reused the advanced search done in CGridView.

Update/delete model with CJuiDialog (works in CGridView)

Created about a year ago by ifdatticTutorials6 comments – viewed 31,112 times – ( +14 )
This is based on this article.