Select scrollview's content

Hi,
is there a way to select, via code, scrollview’s content that user can copy it?
see snipet: http://webix.com/snippet/1a0db352

Thank you,
Alexander

There is no special webix API, but you can get the html element of template like

$$(“errStack”).$view

and use selectRange API to select the text

Maksim,

I used https://stackoverflow.com/questions/11128130/select-text-in-javascript
to select text, however on right click of the mouse selection disappears.
See snippet:http://webix.com/snippet/4b8d06da.
Where is in the fiddle it does not: Edit fiddle - JSFiddle - Code Playground
Any ideas?

I can reconstruct the problem, but I don’t see any reason why it doesn’t works in Chrome ( the snippet works correctly in FireFox by the way )

y, strange, probably bug in chrome