I’ve had to modify _getX() function in dhtmlxscheduler_timeline.js to customize the functionality of round_position. I hate hacking core libraries and was wondering it if it’s possible to override the function? I have tried using the following method, but it doesn’t seem to override the original function. I have ensured my script is included after the timeline js. Note I am using the /codebase/sources/ext/dhtmlxscheduler_timeline.js as it’s not compressed/obfuscated.
window. _getX(ev, isEndPoint, config) = function(){
// my custom code
}
Thanks