[Feature-789] Perspective component extensibility

Someone reminded me of this so i wipped something up
focusRow.zip (37.1 KB)

had to use html parsing for " (&q uot;) because it was doig annyoing with the escaped characters xd (the disadvantage of parsing a string to js xd)

	
	code =  """<img style='display:none' src='/favicon.ico' onload=\"	
		document.querySelector('#"""+value.id+""" [data-row-id=&quot;"""+str(value.number)+"""&quot;]').scrollIntoView();	
		document.querySelector('#"""+value.id+""" [data-row-id=&quot;"""+str(value.number)+"""&quot;] .content').click();				
	\"></img>""".replace("\n", "").replace("\t", "")
	return code
		

(vitualized must be off)

2 Likes