EasyUI Forum
May 03, 2024, 12:41:54 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: How to save cell edit on vue  (Read 4960 times)
dewan
Newbie
*
Posts: 24


View Profile
« on: July 08, 2019, 12:28:02 AM »

Hi,
Please provide some sample on how to save the cell data after edit cell.

Thank you
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: July 08, 2019, 06:52:47 PM »

After saved the editing cell, the 'editEnd' event fires. You can get the updated field values and post to your server.
Code:
<DataGrid 
  style="height:250px"
  :data="data"
  :clickToEdit="true"
  selectionMode="cell"
  editMode="cell"
  @editEnd="onEditEnd($event)"
>
Code:
onEditEnd(event){
  //...
}
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!