EasyUI Forum
September 14, 2025, 02:19:46 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: Row Editing in DataGrid  (Read 7579 times)
CLKG
Guest
« on: September 24, 2015, 06:52:51 PM »

Row editing is great, I wanna use it on my site.
According to the sample: http://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem=

1 I need to maintain a global var named editindex, which is not so graceful, and multi vars for multi grids, can I set the index @ grid like options.editIndex? or what is the best practice?
2 I have to update the row value myself, can this be done automatically after endedit?

I find a little bug in this sample, @line 79, ed could be undefined when a non-editable cell is clicked, and the remove button will not work then, multi rows could enter edit status but the editindex is still undefined.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: September 24, 2015, 07:58:23 PM »

All these features are available in the 'edatagrid' plugin, you can try to use this plugin instead. Please refer to http://www.jeasyui.com/demo/main/index.php?plugin=Application&theme=default&dir=ltr&pitem=CRUD%20DataGrid
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!