Wiki

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

Clear CGridView Filters, Sort & Pager

Created 2 years ago by le_topHow-tos0 comments – viewed 8,237 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 8,739 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 11,552 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 3 years ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 9,484 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.

Customize CGridView columns directly in your view

Created 4 years ago by clapasTips4 comments – viewed 30,994 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 3 years ago by Ankit ModiTutorials1 comment – viewed 12,124 times – ( +2 / -1 ) – version all
How to display status image on admin gridview.

How to keep filters simple in CGridView

Created 2 years ago by PeppeHow-tos3 comments – viewed 5,470 times – ( +1 ) – version 1.1
The problem is not new: after setting some filters in a grid (typically in admin view), and gone to another page, returning in the grid's page I would like to find the filters with previous setting mantained.

checkBox in CGridview

Created about a year ago by n-rOthers0 comments – viewed 13,592 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 3 years ago by Sharon LavieTips0 comments – viewed 8,531 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 6,453 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)