EasyUI Forum

General Category => General Discussion => Topic started by: bvicencio on July 03, 2012, 08:20:34 AM



Title: Save changes to the server side of a row in datagrid edited.
Post by: bvicencio on July 03, 2012, 08:20:34 AM
As I can save changes to the server side of a row in datagrid edited.

Thanks for your help


Title: Re: Save changes to the server side of a row in datagrid edited.
Post by: ftmh on February 09, 2014, 12:58:21 AM
hi i have the same problem , please help me!
thanks  ;D


Title: Re: Save changes to the server side of a row in datagrid edited.
Post by: stworthy on February 09, 2014, 02:35:49 AM
The simplest way to save a row is to get the row data and then post it to server.
Code:
var row = $('#dg').datagrid('getRows')[index];  // get the specified row data
$.post(url, row, function(){
  //...
});