I found a workaround for this use case and wants to shar with everyone.
I have used below steps and it worked for me.
- HTML Element market place module and configure it to show my HTML string dynamically.
- link to configuration doc https://docs.mendix.com/appstore/widgets/htmlelement/
- It doesn't give scroll bar.
- wrapped it in container and given style to make border to separate with other widgets.
border style for container-
border-width: medium;
border-style: ridge;
padding: 8px;
Thank you.