Wiki

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

Update specific cgridview html row after AJAX request

Created about a year ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 8,279 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)

CGridView: Adding behaviors from configuration, and template items from behaviors to CGridView

Created 2 years ago by le_topTips0 comments – viewed 7,833 times – ( +5 ) – version 1.1
Changing the way a CGridView is rendered from the configuration file, or through behaviors specified at the moment it is used, is handy to extend a CGridView without creating tons of different classes for it. I am surprised that this is not in the default implementation, so I made my default CGridView implementation.

two or more different collected data in one CGridView

Created about a year ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 7,371 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.

Multi Data Provider

Created about a year ago by Sharon LavieTips0 comments – viewed 6,792 times – ( +1 )
Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).

checkBox in CGridview

Created 8 months ago by n-rOthers0 comments – viewed 6,762 times – version 1.1
some when you need to add checkbox in cgridview and change state of selected rows by additianal parameters. in view :

How to Display tooltp(qtip) on CGridview dynamic

Created 2 years ago by Ankit ModiTips1 comment – viewed 6,560 times – ( -1 )
Hi Friends,

View a related field in CGridView

Created about a year ago by rafaelt88Tips1 comment – viewed 6,473 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".

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,216 times – ( +6 ) – version 1.1
For each column of the CGridView, we can specify customized buttons : Customize Buttons in CGridWiew

Insert a model record using CGridview

Created about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 5,994 times – ( +2 ) – version 1.1
CGridview displays existent rows of the table (using DataProvider)

Saving CGridView filter

Created about a year ago by sefburhanTutorials5 comments – viewed 5,822 times – ( +27 ) – version 1.1
In this tutorial we will try to save cgridview filter(search) with title etc. basically we want to save two forms data i.e one represents filters and other data about filters like title, description etc. You can define your own structure for filter saving table here are some basic steps