Wiki

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

Exporting CGridView results to CSV file

Created about a year ago by RusAlexTutorials8 comments – viewed 16,574 times – ( +6 / -2 )
A few days ago, i worked for CGridView exporting functional for my client. He asked me to create a simple exporting to a CSV file a CGridView search results.
tags: cgridview, export, csv

Change buttons on our CGridView extending yii

Created about a year ago by sensorarioTips4 comments – viewed 14,225 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 62,909 times – ( +78 )
Lets say we have two models and relation between them:

CGridView: Render customized/complex datacolumns

Created about a year ago by JobloTips11 comments – viewed 61,463 times – ( +59 )
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 22,188 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 22,651 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 23,319 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-tos14 comments – viewed 17,794 times – ( +35 )
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 25,705 times – ( +12 )
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-tos6 comments – viewed 18,541 times – ( +21 )
This is what I did. Its the EASIEST solution that I know of. I just reused the advanced search done in CGridView.