Wiki

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

Clear CGridView Filters, Sort & Pager

Created about a year ago by le_topHow-tos0 comments – viewed 7,378 times – ( +2 ) – version 1.1
Clearing CGridView filters and sort orders from the web pages, is usefull for the end user. Yii does not seem to propose a standard method. Furthermore, this is especially usefull when filters are "remembered" in the user's session.

Insert a model record using CGridview

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 7,937 times – ( +2 ) – version 1.1
CGridview displays existent rows of the table (using DataProvider)

Update specific cgridview html row after AJAX request

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 10,537 times – ( +2 ) – version 1.1
After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)

two or more different collected data in one CGridView

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 8,750 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.

Customize CGridView columns directly in your view

Created 3 years ago by clapasTips4 comments – viewed 29,470 times – ( +3 / -2 ) – version 1.1
You usually take a model instance passed into your view to provide data to a CGridView in this way:

Display Status image on CGridView column

Created 2 years ago by Ankit ModiTutorials1 comment – viewed 11,428 times – ( +2 / -1 ) – version all
How to display status image on admin gridview.

checkBox in CGridview

Created about a year ago by n-rOthers0 comments – viewed 11,593 times – ( +1 ) – version 1.1
some when you need to add checkbox in cgridview and change state of selected rows by additianal parameters. in view :

Multi Data Provider

Created 2 years ago by Sharon LavieTips0 comments – viewed 7,837 times – ( +1 ) – version 1.1
Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).

Advanced CGridview issues - custom button using php and html

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 5,707 times – ( +1 ) – version 1.1
This wiki shows about how to make a custom column or how to pass php-Yii-html code in CButtonColumn (as a button)

CGridView and AjaxForm Connect

Created 5 years ago by PinkBrainPlanHow-tos2 comments – viewed 20,314 times – ( +1 ) – version 1.1
As I'm new to the framework (2 weeks) - I tried to build a functionallity I already use a lot in my old framework (PRADO). This means combining a GridView with a form. And this in one page, what allows you to select a record from the grid and view the values in the same page without jumping to a new page.
tags: Ajax, Form, CGridView