Rough cut (global)
if(typeof(window.hdlFocusSelEnd)=='undefined'){
var hdlFocusSelEnd=function(event) {
var type = event.target.nodeName.toLowerCase();
if(type=='input'||type=='textarea'){
window.setTimeout(function(){try{
event.target.selectionStart=event.target.selectionEnd=event.target.value.length;
}catch(e){console.error(e);}},100);
}
};
document.body.addEventListener('focus',hdlFocusSelEnd,true); //normal browsers
document.body.onfocusin=hdlFocusSelEnd; //fake browser (i.e. ie)
}else{
console.error('hdlFocusSelEnd already attached')
}
Further filtering can be applied as to parent divs or element class etc if the global behavior is not desired
May be you can do this with Javascript. See stackoverflow here: https://stackoverflow.com/questions/511088/use-javascript-to-place-cursor-at-end-of-text-in-text-input-element
Regards,
Ronald
I was also struggling with it but the simpliest solution for me was to go to data view properties and set tab index as -1 (I know it was posted year ago but I only found one question for that so maybe it will help somebody in the future)