cancel
Showing results for 
Search instead for 
Did you mean: 

Can I have scroll property for sap.ui.core.HTML control?

Former Member
0 Kudos

Hi,

I need to set scroll for sap.ui.core.HTML control.Is it possible ,if so Can you give me a hint ?

Thanks and Regards,

Mythili

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Use overflow:scroll; property of CSS.

  1. var html1 = new sap.ui.core.HTML("html1", { 
  2.               content: 
  3.                       "<div style='width: 900px; height: 500px; overflow:scroll;'></div>"
  4.       }); 

Reference:

CSS overflow property