u jedne aplikace potrebuji delat focus po prekresleni tabulky do vyhledavaciho inputu a resim to takto. treba by slo nec podobne najit i pro editable
el.focus();
el.value = el.value;
el.selectionStart = el.selectionEnd = el.value.length; // aby dal kurzor na konec