Categories | Question details Back To List | ||
ajax time ajax needs time to save or update data so you can't do so many steps at once like check 10 checkboxes one time it doesn't work ?any solutaion? Answer posted by Support on Dec 06, 2007 02:44 >> it doesn't work ? Can you please describe which problem exactly occurs for you. In case of dataProcessor usage all modification synced with server, even if in current moment some other data in syncing process, changes will not be lost, dataProcessor will create additional request to save data. Other strategy is not syncing data automatically but call dataProc.sendData() when all necessary modification will be applied to grid. Answer posted by Lina on Dec 06, 2007 08:36 Thank you very much, i don't use dataProcessor but what i am doing is:
i hope i was clear enough ,and thank you very much again.
Answer posted by Support on Dec 06, 2007 10:20 You can lock grid for some time, there is no such thing as constant delay, but you can use onLoadingEnd handler to detect moment when XML loaded ( which mean operation finished ) function my_lock(){ window.setTimeout(function(){ grid.setEditable(false); },1); } function my_unlock(){ grid.setEditable(true); } function doOnCellEdit (...){ if (some_rule){ my_lock(); grid.loadXML(aspfile,my_unlock) // will be unlocked on data loadindg } } |