EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 16, 2024, 09:48:12 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Autosave in Datagrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: Autosave in Datagrid (Read 995 times)
ub2709
Newbie
Posts: 3
Autosave in Datagrid
«
on:
March 29, 2023, 11:41:13 PM »
Good morning,
in addition to my question yesterday....
Is it possible und how can I implement a autosave feature in my datagrid when leaving a cell or a row without clicking on a "save" Button?.
Thank you
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: Autosave in Datagrid
«
Reply #1 on:
March 30, 2023, 01:56:52 AM »
Please listen to the 'onEndEdit' event and save data to the server.
Code:
$('#dg').datagrid({
onEndEdit: function(index,row,changes){
// save data to the server
}
})
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...