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

Revision #6 has been created by Kostas Apazidis (KonApaz) on Apr 29, 2014, 1:59:58 PM with the memo:

link
« previous (#5)

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 024 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