EasyUI Forum
May 15, 2024, 07:15:09 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Post updated row to database through Inline Editing  (Read 21869 times)
putusundika
Newbie
*
Posts: 13


View Profile Email
« on: August 06, 2012, 07:39:36 AM »

dear all, i've try http://www.jeasyui.com/tutorial/datagrid/datagrid12.php. it works but after refresh data is back to original (before update). how can I save or post the data to database after inline editing ?
I mean, i need post updated data to MySQL.


would you please give me the example

best regards
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: August 06, 2012, 05:12:56 PM »

Call 'getChanges' method to get all inserted, updated, deleted  records and then post them to server. Please refer to http://www.jeasyui.com/forum/index.php?topic=481.0.
Another way to use the inline editing feature of datagrid is to use the edatagrid plugin. Please refer to this tutorial http://www.jeasyui.com/tutorial/app/crud2.php.
Logged
putusundika
Newbie
*
Posts: 13


View Profile Email
« Reply #2 on: August 07, 2012, 01:42:48 AM »

how can i missed http://www.jeasyui.com/tutorial/app/crud2.php ... omg

thank you stworthy..
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!