Wiki

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

Search a file size range in CGridView

Created 4 years ago by CrazyCatTips0 comments – viewed 6,783 times – ( +2 / -1 )
Working on a report system of files transfert, I had to let the users simply find files by size. I didn't want to have two fields, I prefer a simple text input, with "human syntax".

Clear CGridView Filters, Sort & Pager

Created 2 years ago by le_topHow-tos0 comments – viewed 9,303 times – ( +2 / -1 ) – 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 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 9,675 times – ( +2 / -1 ) – version 1.1
CGridview displays existent rows of the table (using DataProvider)

Update specific cgridview html row after AJAX request

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 12,805 times – ( +2 / -1 ) – 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)

Customize CGridView columns directly in your view

Created 4 years ago by clapasTips4 comments – viewed 32,179 times – ( +3 / -3 ) – 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,954 times – ( +2 / -2 ) – 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 6,111 times – ( +1 / -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 2 years ago by n-rOthers1 comment – viewed 15,927 times – ( +1 / -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 9,266 times – ( +1 / -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 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 7,244 times – ( +1 / -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)