fires before the batchUpdate method is called
gantt.attachEvent("onBeforeBatchUpdate", function(){ // your code here });
added in version 4.0