Skip to Content
avatar image
Former Member

IconTabBar code sample from Demo Kit is not working

Hi,

I am new to SAP UI5 and trying to explore by creating the application from the code download for IconTabBar application and getting error at below code.

In Controller DoInIt method getting error at below code

var oComp = sap.ui.getCore().createComponent({ name : 'opensap.UI5_IconTabBar' });

oComp.setModel(this.getView().getModel());

this._oTable = oComp.getTable(); this.getView().byId("idIconTabBar").insertContent(this._oTable);

// update table

this._oTable.setHeaderText(null);

this._oTable.setShowSeparators("Inner");

Kindly help me out on whats wrong with this code.

Best Regards,

Azaz.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 03, 2017 at 04:04 PM

    What is the error??

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 03, 2017 at 08:58 AM

    Hi Azaz,

    Please check the path whether it is correct as per your project in Line 1.

    Regards,

    Srinivasan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 04, 2017 at 09:07 AM

    Please find the error message attached.

    icontabbar.png

    Add comment
    10|10000 characters needed characters exceeded