Skip to Content

Tooltip for Tab Container Item

Hi Experts,

I want to show some text in tooltip of tab container item but even after giving the property, the tooltip is not showing up.

Below is my code:

jQuery(function() { var tab = new sap.m.TabContainer({ showAddNewButton : true, items:[ new sap.m.TabContainerItem({ name:"test", tooltip:"hey" }), new sap.m.TabContainerItem({ name:"test2", tooltip:"hey2" }) ] }); tab.placeAt('content'); });

Please let me know a solution for this.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 23, 2017 at 01:54 PM

    Hi Mansi Dixit ,

    there is no property cal tooltip for the tabcontaineritem control, so you can not use tooltip property .. If you want to still apply tooltip either use CSS tooltip custom one or use javacript to add title property of the tabcontaineritem div rendered ..Check Developer's tool for that ..



    Add comment
    10|10000 characters needed characters exceeded