Skip to Content
0

IconTabBar code sample from Demo Kit is not working

Apr 03, 2017 at 04:12 AM

55

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Srikanth KV Apr 03, 2017 at 04:04 PM
0

What is the error??

Share
10 |10000 characters needed characters left characters exceeded
Srinivasan S Apr 03, 2017 at 08:58 AM
0

Hi Azaz,

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

Regards,

Srinivasan

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Srinivas,

Yes I have given the Correct path of the Component.

Best Regards,

Azaz.

0
Azaz Ali Apr 04, 2017 at 09:07 AM
0

Please find the error message attached.

icontabbar.png


icontabbar.png (98.1 kB)
Share
10 |10000 characters needed characters left characters exceeded