I am using a grid to insert several rows to a mysql table in the next mode:
I need to show a grid empty and add rows created for the user, and I am populated the original empty grid with the next file “vermovimientoXML.php”
print '<?xml version="1.0" encoding="ISO-8859-1"?>';
print(" <row id='1'>");
The problem is:
When I send all data using
all new rows and his data (inserted for user) are saving well, but the only register that not save is the first (created with this xml file).
I can seethat the problem must bethe MODE of this row because the mode
$mode = $_GET[$rowId."_!nativeeditor_status"];
of this row is shown as “update”
this is shown using the debug option (dhtmlxdataprocessor_debug.js).
HOW CAN I DO SHOW A GRID WITH A ROW (ONLY ONE) AND WHEN MY USER SEND ALL IT ONCE (WITH THE NEW ONES , ADDED FOR HIM) ALL THE “MODES” OF THE ROWS BE: INSERTED ?
I hope that you can understand my problem
pd:THE USER ADDS THE OTHER ROWS (using the addRow function) the issue is only with the first (populated by xml)