Wiki

Articles tagged with "cgridview", sorted by commentsX
Displaying 21-30 of 63 result(s).

Filter / Search with CListView

Created 2 years ago by JohnPollardHow-tos7 comments – viewed 29,696 times – ( +25 ) – 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.

Update CGridview row separately using ajax request

Created 2 months ago by KonApazHow-tos6 comments – viewed 2,333 times – ( +5 ) – version 1.1
There are cases you want to update a record on CGridview directly

Adding a link to a CDataColumn

Created about a year ago by le_topTips6 comments – viewed 8,018 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.

Update/delete model with CJuiDialog (works in CGridView)

Created 3 years ago by ifdatticTutorials6 comments – viewed 51,944 times – ( +15 ) – version 1.1
This is based on this article.

multiple CActiveDataProviders in one CGridView

Created about a year ago by KonApazHow-tos5 comments – viewed 9,659 times – ( +7 / -1 )
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?

How to avoid rendering entire page on AJAX call for CGridView and CListView

Created about a year ago by VINAY Kr. SHARMAHow-tos5 comments – viewed 13,419 times – ( +5 )
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...

CGridView Date Range Without Cookies or Session (External Filtering)

Created 11 months ago by ezekielnoobHow-tos5 comments – viewed 5,932 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:

Change buttons on our CGridView extending yii

Created 2 years ago by sensorarioTips5 comments – viewed 22,439 times – ( +10 ) – version 1.1
In this tip, I'll help you to change in few second buttons of your CGridView. I hope you like it =).

Displaying image in a CGridView column.

Created 2 years ago by sirin kHow-tos5 comments – viewed 42,648 times – ( +12 / -1 ) – version 1.1
This is a simple example of how we can display images in CGridviews.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.
tags: CGridView, image

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

Created 7 months ago by KonApazHow-tos5 comments – viewed 12,952 times – ( +5 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.