Wiki

Articles tagged with "cgridview", sorted by ratingX
Displaying 31-40 of 65 result(s).

BootProgressColumn - Progress Bar Inside GridView Column compatible with 'bootstrap' extension

Created 3 years ago by LuizTips1 comment – viewed 13,839 times – ( +7 ) – version 1.1
A little hint of how to create a progress bar inside the column of the grid, using the 'bootstrap' extension.

CButtonColumn: Use special variable $data for the 'id' in the 'options' of a button

Created 3 years ago by bluezedTutorials5 comments – viewed 24,887 times – ( +10 / -1 ) – version 1.1
In an application I had a CGridView with a CButtonColumn and for an Ajax-Request I needed to make sure that the IDs of the buttons would not change when the GridView was updated so in effect I wanted to link them to the $data->id. So I tried:

Insert a multirow header in CGridView

Created 2 years ago by PeppeHow-tos2 comments – viewed 11,944 times – ( +6 ) – version 1.1
The CGridView widget is very useful and customizable, but sometimes you need a little more. One limit I found is to have only one row for headers; yes, you can write each column header in more than one row, but just inside the single cell. I was looking instead for the possibility to use more than one row, with different structure one from the others. This way you can write columns grouping headers, and obtain a nicer view.

CGridView keep focus on the control after filtering

Created 3 years ago by jayalaHow-tos4 comments – viewed 8,775 times – ( +6 ) – version 1.1
You can find the reason why I wrote this article here.
tags: CGridView, filter

Yii CGridView add custom button

Created about a year ago by Arockia JohnsonHow-tos1 comment – viewed 23,447 times – ( +6 ) – version 1.1
Hi buddies !, This tutorial shows about how to add a custom button with your own icon for your CGridView of Yii framework

Update CGridview row separately using ajax request

Created about a year ago by Kostas Apazidis (KonApaz)How-tos9 comments – viewed 9,715 times – ( +6 ) – version 1.1
There are cases you want to update a record on CGridview directly

Yii 1.1: Cgridview: Use Special Variable $Data In The Options Of A Button (I.e. Evaluate Options Attribute)

Created about a year ago by Louis GacTutorials1 comment – viewed 6,228 times – ( +6 ) – version 1.1
For each column of the CGridView, we can specify customized buttons : Customize Buttons in CGridWiew

View a related field in CGridView

Created about a year ago by rafaelt88Tips1 comment – viewed 6,491 times – ( +6 ) – version 1.1
Generally we need to show one or more fields from a model that is related to another model used in CGridView. For our case we will use two related models, which explain how to use model "A" fields in a CGridView that used model "B".

How to filter CGridView with From Date and To Date datepicker

Created 3 years ago by kiran sharmaTips16 comments – viewed 38,585 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.

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

Created 2 years ago by VINAY Kr. SHARMAHow-tos6 comments – viewed 19,238 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...