EasyUI Forum

General Category => General Discussion => Topic started by: putusundika on August 06, 2012, 07:39:36 AM



Title: Post updated row to database through Inline Editing
Post by: putusundika 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


Title: Re: Post updated row to database through Inline Editing
Post by: stworthy 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.


Title: Re: Post updated row to database through Inline Editing
Post by: putusundika on August 07, 2012, 01:42:48 AM
how can i missed http://www.jeasyui.com/tutorial/app/crud2.php ... omg

thank you stworthy..