updating data with dhtmlxconnector and dhtmlxdataprocessor

Hello,



Consider the dhtmlxconnector video example, i did the same with my data and all works fine. But if i modify a cell with this line of code

mygrid.cells(mygrid.getSelectedRowId(),1).setValue(“For example”), the new value appears in the cell, but the database is not updated.



Is there a simple way to achieve the update or should i do this manually ?



Can you give me some examples please ?



Thanks in advance


Hello,


Only rows, which we edit manually, are updated automatically.


But you can use setUpdated method to force row updating:


dp.setUpdated(mygrid.getSelectedRowId(),true);

Thank you, that’s exactly what i wanted.