Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Doug Brown on Mar 28, 2009 12:54
open dhtmlx forum
editStop() doesn't save active data

I am using the current GPL dhtmlxgrid with IE 7. If there is an active editor in a cell and I call grid.editStop(), the cell editor goes away, but the modified value in the editor is _not_ saved to the grid.

Is this expected behavior? What is the best way to commit changes in the active cell before saving during a form submit?

I have some custom code to pull out changed cell data and send to server.

Thanks.
Answer posted by dhxSupport on Mar 30, 2009 07:17
After calling editStop() method cell should contain changed. Please check if you have attached "onEditCell" event to the grid. Event handler should return true. If issue still occurs please provide any kind of sample
Answer posted by Doug Brown on Mar 30, 2009 08:03
I was actually calling editStop(true). The mode parameter is undocumented, and I was guessing. Using editStop() works for me.

Thanks.