Difference between #1 and #2 of
Update specific cgridview html row after AJAX request

Revision #2 has been created by Kostas Apazidis (KonApaz) on May 16, 2014, 11:01:09 AM with the memo:

-
« previous (#1)

Changes

Title unchanged

Update specific cgridview html row after AJAX request

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

Update, specific, CGridView, html, row, AJAX, request

Content changed

After of success/attempt update of a model 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)
 
 
[http://www.yiiframework.com/wiki/658/update-cgridview-row-separately-using-ajax-request/](http://www.yiiframework.com/wiki/658/update-cgridview-row-separately-using-ajax-request/ "http://www.yiiframework.com/wiki/658/update-cgridview-row-separately-using-ajax-request/") probably you need also updates the specific row html in cgridview (not entire cgridview)

Reasons to do that:
1) You want to reserve the pagination
2) You have comblex html in row that needs updated directly from php
3) improve time request (retrieve the specific html code and not entire cgridview)
[...]
1 0
2 followers
Viewed: 23 419 times
Version: 1.1
Category: How-tos
Last updated by: Kostas Apazidis (KonApaz)
Created on: May 16, 2014
Last updated: 9 years ago
Update Article

Revisions

View all history