Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Setting Tooltip on accordion section Does not work. Possible bug??

$
0
0

HI All,

 

I am using accordion control with following code.

 

var oAccordion = new sap.ui.commons.Accordion("accordionA");

 

//Building Section 1

var oSection1 = new sap.ui.commons.AccordionSection( "section1" );

  oSection1.setTitle("Section 1kdfjkdasfjsdafffdfjkakfajfajfksafjdkfjdf");

oSection1.setTooltip("Section 1");

  oSection1.setMaxHeight("100px");

  for (var i=0 ; i < 5 ; i++){  

var oCheckBox1 = new sap.ui.commons.CheckBox( "CheckBox1"+i );

  oCheckBox1.setText("CheckBox1 "+i);

  oSection1.addContent( oCheckBox1);

var oLabel1 = new sap.ui.commons.Label( "Label1"+i );

  oLabel1.setText("Label 1 "+i); 

  oSection1.addContent( oLabel1);

  }

  oAccordion.addSection( oSection1 );

 

 

 

Though I am setting the Tooltip. While mouse hover I don't see the tooltip.

 

My thought is whenever sectionsTitle is truncated it should show the tooltip.

 

Please clarify when the tooltip will be visibile.

 

 

thank you for allyour inputs and help in advance.

 

regards


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>