Wiki

Articles tagged with "cgridview", sorted by commentsX
Displaying 1-10 of 38 result(s).

Searching and sorting by related model in CGridView

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

Using CButtonColumn to customize buttons in CGridView

Created 2 years ago by TrejderHow-tos15 comments – viewed 103,543 times – ( +81 )
CGridView is a one of most flexible widgets in Yii and example its flexibility is CButtonColumn used to build buttons for steering model in each grid row. Here in this how-to we will explain ways user can customize CButtonColumn to flexibly fit it to its needs.

Avoiding rendering entire page when using CGridView and CListView via AJAX

Created 2 years ago by xrxHow-tos13 comments – viewed 22,277 times – ( +20 )
Since I used CGridView for a first time, I didn't like how it handled operations like sorting, filtering, changing page and etc using AJAX.

Creating a jQueryUI Sortable CGridView

Created about a year ago by blindMoeHow-tos13 comments – viewed 17,046 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 24,445 times – ( +10 )
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.

Working with CGridView in Admin Panel

Created 10 months ago by vibhaJadwaniTutorials11 comments – viewed 29,240 times – ( +29 / -1 )
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.

CGridView, CListView and CActiveDataProvider

Created 8 months ago by softarkTutorials11 comments – viewed 32,250 times – ( +28 )
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.

CGridView: Update/create records in a CJuiDialog

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

Searching and Sorting by Count of Related Items in CGridView

Created about a year ago by softarkHow-tos10 comments – viewed 16,175 times – ( +21 )
Let's say we have two models and relation between them: