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

Searching and sorting by related model in CGridView

Created 3 years ago by Maciej Li┼╝ewskiTutorials86 comments – viewed 158,980 times – ( +125 ) – version 1.1
Lets say we have two models and relation between them:

Using filters with CGridView and CArrayDataProvider

Created 4 years ago by marcovtwoutHow-tos32 comments – viewed 58,194 times – ( +21 ) – version 1.1
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.

Creating a jQueryUI Sortable CGridView

Created 4 years ago by blindMoeHow-tos23 comments – viewed 36,000 times – ( +48 / -1 ) – version 1.1
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.

CGridView, CListView and CActiveDataProvider

Created 3 years ago by softarkTutorials21 comments – viewed 100,927 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.

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

Created 3 years ago by Gerhard LiebenbergTutorials20 comments – viewed 78,237 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.

Working with CGridView in Admin Panel

Created 3 years ago by vibhaJadwaniTutorials18 comments – viewed 70,449 times – ( +43 / -1 ) – version 1.1
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.

Using CButtonColumn to customize buttons in CGridView

Created 4 years ago by TrejderHow-tos18 comments – viewed 237,366 times – ( +98 ) – version 1.1
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 4 years ago by xrxHow-tos17 comments – viewed 36,327 times – ( +24 ) – version 1.1
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.

How to filter CGridView with From Date and To Date datepicker

Created 3 years ago by kiran sharmaTips16 comments – viewed 39,231 times – ( +17 / -4 ) – version 1.1
This artical is related to allow user to filter CGridView with date range using datepicker on submit button. Here I use Yii Cookie to preserve date in datepicker textbox after submitting the form.

Using CJuiDatePicker for CGridView filter

Created 3 years ago by softarkHow-tos14 comments – viewed 41,790 times – ( +26 ) – version 1.1
We can use a CJuiDatePicker for a CGridView inline filter.