Skip to Content
0
Sep 14, 2018 at 02:40 PM

SAP UI5 Table making (Rows to Columns) and (Columns to Rows)

231 Views

Dear SAPUI5 Fiori Experts,

I have a scenario where I need to interchange Columns with Rows and Rows with Columns as

Actually the Table looks as below using sap.m.Table:

Column1(NAME) Column2(EMPID) Column3(SPORTS)

Robert 001 Cricket

Sam 002 Volleyball

Saniya 003 Tennis

============

But my requirement as given below:

Column1(NAME) Robert Sam Saniya

Column2(EMPID) 001 002 003

Column3 (SPORTS) Cricket Volleyball Tennis

====

And also I would like make the Column1(Colimn1 and rows under this Column) Freeze

I have tried a lot but not successful. Is there any such option in sap.m.Table.

If there is any option please provide me the logic with a sample example.

Thanks in Advance.

Regards,

RR