cancel
Showing results for 
Search instead for 
Did you mean: 

Is there some method to get html-code of ui5-object to js-variable?

Former Member
0 Kudos

Hi, Colleagues


I'm searching a way to write an html of some ui5-objects (eg a table) to variable for later usage. As an example, i want to put a table into the container, that was not created yet.

I've already tried .getContent() and .toString() functions, but the result is empty.

I think there should be a way to solve this problem through using renderer = oObject.getRenderer(), but i dunno how exactly.

Kind regards,

Mikhail

Accepted Solutions (1)

Accepted Solutions (1)

Qualiture
Active Contributor
0 Kudos

Why so complicated? Why not simply store a reference to your UI5 table control in a variable and use that instead? That way you can still benefit from all the UI5 goodies (data binding, eventing, etc) instead of having just a static HTML DOM object

Answers (0)