EasyUI Forum
May 06, 2024, 01:20:02 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Save changes to the server side of a row in datagrid edited.  (Read 13127 times)
bvicencio
Newbie
*
Posts: 13


View Profile Email
« 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
« Last Edit: July 09, 2012, 06:57:16 AM by bvicencio » Logged
ftmh
Newbie
*
Posts: 19


View Profile
« Reply #1 on: February 09, 2014, 12:58:21 AM »

hi i have the same problem , please help me!
thanks  Grin
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #2 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(){
  //...
});
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!