Difference between #5 and #6 of
Advanced CGridview issues - custom button using php and html

Changes

Title unchanged

Advanced CGridview issues - custom button using php and html

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

advanced, CGridView, custom, button, columns

Content changed

[...]
To save each row using update column via Ajax you have to prevent the default http request (for example the update link) and send all the row data-columns using custom ajax post request.

check this to see how to do that
[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/ "wiki")
1 0
2 followers
Viewed: 14 026 times
Version: 1.1
Category: How-tos
Last updated by: Kostas Apazidis (KonApaz)
Created on: Apr 27, 2014
Last updated: 10 years ago
Update Article

Revisions

View all history