Skip to Content
0
Oct 19, 2019 at 04:22 PM

Link control tool tip is not working on mobile device

461 Views

Hi Experts,

I have one issue related to link control. When I add tooltip to the link control then upon mouse over it is showing tool til data but same thing is not working on mobile device. Please check the code that I added and let me know if I am missing anything.

XML Code :
 
<Table id="idTable" items="{/results}" growing="true" >
<columns>
<Column hAlign="Left">
        <Text text="Name"></Text>
       </Column>

</columns>

 <items>
       <ColumnListItem type="Active">
        <cells>

<Link text="{path:'Link Name'}" tooltip="{path:'Tool Tip'}"/>
        </cells>
       </ColumnListItem>
      </items>
     </Table>


Controller code :

 onInit: function() {
 var that = this;
   if (sap.ui.Device.system.desktop === true) {
    that.getView().byId("idTable").setWidth("100%");
   } else if (sap.ui.Device.system.phone === true) {
    that.getView().byId("idTable").setWidth("100%");
       }
}

Json Data :

{
 "results": [
  {
    "Link Name" : "UI Data",
   "Tool Tip": "On mouse hover"
  },
{
 "Link Name" : "UI Data1",
   "Tool Tip": "On mouse hover1"
},

{
 "Link Name" : "UI Data2",
   "Tool Tip": "On mouse hover2"
},

{
 "Link Name" : "UI Data3",
   "Tool Tip": "On mouse hover3desktop-view-tooltip.png"
}
]
}






Thanks and Regards,

RK

Attachments