cancel
Showing results for 
Search instead for 
Did you mean: 

sap.ui.Table header span not working on MII 14.0 SP6 Patch 9

Former Member
0 Kudos

Hello everyone,

I am developing an application using the sap.ui.Table component. I am using the headerSpan property to build a table with multiple headers. The problem is that I had to hack the script /XMII/JavaScript/bootstrap.js, in order to load a version of sap-ui-core.js script that supports the headerSpan. I would like to know why the header span does not work with the sap-ui-core.js that comes with the MII 14.0 patch?

I have attached two images that illustrates the problem:

table_header_span_1.png shows the header span working fine (Usage of my hack bootstrap.js);

table_header_span_2.png shows the header span not working (Usage of MII 14 bootstrap.js).

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member185280
Active Contributor
0 Kudos

sap-ui-core.js is part of the sapui5 library. MII uses sapui5 but it is not really part of or deployed with MII.

How did you change the bootsrap.js to load a different version of ui5? Where/how was that version deployed? You may be able to just download the latest version of UI5 from sap and deploy it to your server. 


Regards,

Christian



Former Member
0 Kudos

Hi Christian,

First of all thanks for your quick feedback. Here are the answers for your questions:

How did you change the bootsrap.js to load a different version of ui5?

     I changed the function 'loadUI5Core' in this script to load another version of sap-ui-core.js library.

Where/how was that version deployed?

     This is the bootstrap version that I am using to get the header span working: https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js

You may be able to just download the latest version of UI5 from sap and deploy it to your server.

   

     Is that one the latest version? If not, could you tell me where I can find it?

Regards,

Thiago Lima

saivellanki
Active Contributor
0 Kudos

Hi Thiago,

Please check the UI5 library version that you're using in MII 14.0. Latest version is 1.28.7.

You can check library version using keyboard shortcut "Ctrl+Alt+Shift+P"


                                        (or)


Run the UI5 application in chrome and in developer console (F12), type sap.ui.version


If you're using older version, you can upgrade to newer version (version in which table header span is working).

I would suggest, BASIS team to handle the upgrade of UI5 library in Net Weaver (NW). Since, it requires downloading of UI5 library from SAP Market place and deploying it to NW which I am not sure of.

Regards,

Sai Vellanki.

Private_Member_14935
Active Participant
0 Kudos

Hi Thiago,

As per guidelines you should be using the latest UI5 version that is released for the net-weaver version that MII runs on. As mentioned by Christian, sap-ui-core.js is part of SAP UI5 library and hence you can go and pick the latest sca from SMP for your netweaver version and deploy the same on your server.

Thanks and Best Regards,

Ria

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Guys,

I updated the MII core to the latest version and the header span is working fine now.

Thanks