cancel
Showing results for 
Search instead for 
Did you mean: 

Transposing a table

HighTechDom
Advisor
Advisor
0 Kudos

Hello Experts,

I am consuming a service that returns me a table like this:

Date Value

01.04 10

02.04 14

03.04 12

04.04 18

....

....

Now would like to display this to the user like this

01.04 02.04 03.04 04.04 ....

10 14 12 18 ....

Does anybody have a hint, if and how this could be achieved using Visual Composer?

Thanks,

Dominik

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dominik,

unfortunately I can't really answer your question but as far as I know it is not possible to include tables with a dynamic number of columns into the model. If in your case the columns are fix you could write a JavaBean which transposes the data, expose it functionality as web service and include it as data service in your VC model.

Regards,

Kevin

Former Member
0 Kudos

I must agree with Kevin.

You have to do data manipulations of this sort in the data lyaer, eg. EJB, CAF, or similar.

Regrads,

Shai