I have problems with dhtmlxConnector / dhtmlxProcessor / dhtmlxTreeGrid.
I own a licence for Entreprise licence and i use the dhtmlxSuite_2009Rel1_pro_90226 release.
When i do multiple row selection (using the Ctrl-Click on rows), and i drag drop those rows on another folder, only one is updated on the server side.
On the log, i see only one request, but at the beginning ! After only one update. I set up to send all data in one query
Here is the strange log
Log:
row 906 marked [updated,valid]
Initiating data sending for 906
Initiating data sending for all rows
Sending all data at once
Server url: 01_basic_connector.php?editing=true parameters
906_gr_id=906
906_gr_pid=1006
906_c0=Production_Step_0.0_200806062
906_c1=3020014
906_c2=scenario
906_c3=906
906_c4=1
906_!nativeeditor_status=updated
ids=906
row 913 marked [updated,valid]
Initiating data sending for 913
row 936 marked [updated,valid]
Initiating data sending for 936
row 988 marked [updated,valid]
Initiating data sending for 988
row 1011 marked [updated,valid]
Initiating data sending for 1011
row 980 marked [updated,valid]
Initiating data sending for 980
row 912 marked [updated,valid]
Initiating data sending for 912
Server response received details
<?xml version='1.0' encoding='UTF-8'?>
Action: updated SID:906 TID:906
row 906 unmarked [updated,valid]
Here is the configuration trigger on the “onloaded” of a test page
mygrid = new dhtmlXGridObject(‘mydiv’);
mygrid.selMultiRows = true;
mygrid.imgURL = “js/dhtmlxGrid/codebase/imgs/”;
mygrid.setHeader(“Scenario,id Text,Long Text,Color,Checkbox”);
mygrid.setInitWidths(“330,100,100,100,*”)
mygrid.setColAlign(“left,left,left,left,center”)
mygrid.setColTypes(“tree,ed,ed,ed,ch”);
mygrid.setColSorting(“str,str,str,str,str”);
mygrid.enableDragAndDrop(true);
mygrid.enableMultiselect(true);
mygrid.attachHeader("#text_search,#text_filter,#text_filter,#text_filter,#text_filter");
mygrid.setSkin(“light”);
mygrid.init();
mygrid.loadXML(“01_basic_connector.php”);
var dp = new dataProcessor(“01_basic_connector.php”);
dp.setTransactionMode(“POST”,true);
dp.setUpdateMode(‘cell’,true);
dp.init(mygrid);
Updated version of dhtmlxdataprocessor.js sent by email - it must resolve your problem
( the data sending log mostly correct - the only problematic part, not sending other data after first row saved )
Hi, i didn’t receive the mail with the updated version.
I just received a notification of new comment in Knowledge base.
Mail is not in spam filter, i check. Could you retry on the same address and copy to iiolivier@gmail.com ?
Thanks
Email re-sent to both email addresses.
Thanks ! Your patch is working great and fix this problem.
I discover a little bug (non blocking) in the mode “one request for all updates” :
When i move 5 nodes for example, i receive on the server 1 request with the first item id to move, and another request with the 4 remaining item id
Not really a problem, but maybe could help you for next release.
Best regards.