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)[...]