Skip to main content
Aug 24, 2020 7:26 AM UTC
Question

How to have the groups in dashboard widget be in a collapsed default state?

Hello all,

 

Currently the default for Dashboard Widget - is that the groups are expanded. I would like them to be collapsed in size for when I view the mashup. 

 

In the attached files below you can see how the groups are defaulted to being expanded. In the second picture, I collapsed each individual group - that is what I would like it to be looking like.

 

Any direction would be great - thank you! 

6 replies

Aug 24, 2020 2:48 PM UTC

Isn't expand collapse bindable? You could set them with a service. not that pretty on load perhaps

Aug 24, 2020 3:38 PM UTC

There is no Dashboard widget property for expand and collapsing the groups. What do you mean exactly? Thank you! 

Aug 24, 2020 3:41 PM UTC

ah if it doesn't exist that's a bummer.

Don't think there is a way then to do it with dashboards, you could do it (but a lot of extra work) with the collection widget.

Aug 25, 2020 2:46 AM UTC

Hello @MFritzhand 

It seems that there are no attributes to control the default behavior.

 

During my investigation, I found that this behavior is controlled by DIV CSS, maybe it can be solved by customizing DIV CSS.

 

MaxWang_0-1598320660570.png

 

MaxWang_1-1598320745444.png

 

You can investigate more deeply, refer to help center

http://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx/Help/Mashup_Builder/Mashups/MashupCustomCSS.html

 

I hope this information can help you.

 

BR,

Max

Sep 16, 2020 8:26 PM UTC

Hi @MFritzhand.

 

If you feel that one of the previous responses answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.

 

Thank you for your participation in our community!

 

Regards.

 

--Sharon