Skip to Content
Former Member
Sep 04, 2014 at 12:02 PM

Printing data available in an SAPUI5 tree table control / Model


Hello Experts,

I have a JSON model, which holds the data coming from an MII BLS transction.

A Tree table is bound to the JSON model. Also, based on the "Expand" icon click on each row in Tree table, I load some data from the back-end dynamically and insert into my JSON model.

My next course of action is to "Print" the data which is currently held by the tree table only. I don't want to print other UI controls which are present on the screen.

Moreover, the table has a scroll bar. Irrespective of the scroll bar, I want to print all the data which is contained in side the tree table (and hence the model).

Is there anyway I can achieve this? I went through few posts like:

The question is remotely connected, but it gives me an impression that a particular "UI" control cannot be printed directly.

Any suggestion will be greatly appreciated.