Comparing
#1 with
#2
Content
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)[...]