Skip to main content
Best answer by gbucur

Hey guys,

I found a workaround for this, it's not pretty, but it works in responsive mashups.

Make your header invisible and overlay. Mine has 5px height.

header.png

And your expression should contain:

$('#root_pagemashupcontainer-6_Dashboard-1').css({overflow: 'auto'})

You can see which number your dashboard has in the properties of the widget. It's the first property > Id.


Make the expression Autoevaluate and get Mashup Loaded to evaluate it.expression.png

Hope it helps!

This is a way to do it if you want your dashboard to occupy the whole mashup.

BR,

Gabriel

Edit: found a way without Framelayout.

15 replies

22-Sapphire I
October 19, 2016

If you are using the Dashboard Widget with Gadgets inside, it should automatically give you a scroll bar.

Not sure what browser you are using and if it is not able to detect the proper screen size or if you have resized the gadgets manually.

fmanniti1-VisitorAuthor
1-Visitor
October 19, 2016

I both tried with Firefox and Chrome and I have this issue.

I didn't have resized them. Just placed inside the groups

5-Regular Member
October 20, 2016

Hi Fabio Manniti​,

Which ThingWorx version are you using?

Thanks,

Ankit Gupta

gbucur5-Regular MemberAnswer
5-Regular Member
March 14, 2017

Hey guys,

I found a workaround for this, it's not pretty, but it works in responsive mashups.

Make your header invisible and overlay. Mine has 5px height.

header.png

And your expression should contain:

$('#root_pagemashupcontainer-6_Dashboard-1').css({overflow: 'auto'})

You can see which number your dashboard has in the properties of the widget. It's the first property > Id.


Make the expression Autoevaluate and get Mashup Loaded to evaluate it.expression.png

Hope it helps!

This is a way to do it if you want your dashboard to occupy the whole mashup.

BR,

Gabriel

Edit: found a way without Framelayout.

15-Moonstone
March 14, 2017

Thanks Gabriel.

Fabio Manniti​ - when you have a chance, let us know what your feedback is on Gabriel's solution path as well.  Thanks, Steve

fmanniti1-VisitorAuthor
1-Visitor
March 15, 2017

Yes, in this moment I'm busy with another job I need to finish. I think I'll check in the next few days.

Thank you very much