Categories | Question details Back To List | ||
drag -n-drop and filter problem
hi. this is the drag -n-drop and filter problem
at first i dont make enableSmartRendering turn on,so filter 300 data is too slow ,then i turn it on , i find that filter data is very fast ,but when i get 1000 data and drag one data from mygrid1 drop to mygrid2,i find it begin slow. how to make it fast? can you tell me some to try? bellow is my code. thanks. mygrid1 = new dhtmlXGridObject('gridbox1');
mygrid2 = new dhtmlXGridObject('gridbox2'); function rightMove() { function leftMove() { Thanks for extra support which, as ever, rocks ! Answer posted by Support on Sep 11, 2009 10:11 The above code has not any visible traits. The serious slow down of grid in srnd mode can be caused by some logic which will require all row rendering ( iterating through all grid and changing row color for example ) , but simple call to moveRow must not cause such drastically effect. Do you have any other custom code, which triggered by row moving ? Answer posted by hony on Sep 13, 2009 23:30 yes , i did with you said,i update mycode with delete all of custom css,it turned to faster than ever. and when i update the js function leftMove to like this: function leftMove(){ var mid = mygrid1.getSelectedRowId(); } it became to the fastesst ,and the filter data with problem which rows were moved appear. do you have other good idea to prevent the problem to happen? thX very much .. hony
|