Categories | Question details Back To List | ||
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 Answer posted by Alex (support) on Mar 26, 2009 09:23 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); Answer posted by Phil on Mar 26, 2009 10:27 Thank you, that's exactly what i wanted. |