cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic loading of Mashup Data and dynamic adjustment of widget's property "top", remove blank space

SOLVED
Highlighted
Regular Member

Dynamic loading of Mashup Data and dynamic adjustment of widget's property "top", remove blank space

Hi All,

I am having Mashup which is divided into 6 rows( 6 containers). Each row contains labels for key-value pair data and data is loaded using service. 

My requirement is not to show containers for which we are not getting data from backend service. So far I was accomplishing this by comparing attributes value for each row and if it was empty then I used to call one service which returns the boolean value for each row. This value I am binding with the "visible" property of the Row (container) widget.

 

But in this approach, I face an issue that if some attributes are empty for the middle row, then it shows blank space on mashup. Is it possible to adjust the blank space/ container's property to adjust "top" dynamically? 

 

Request you all to kindly help me achieve this solution. Also if some other better approach is possible to load data dynamically and adjust the widget/ collapse widget if it doesn't contain any data.

 

 

Regards,

Siddharth

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Dynamic loading of Mashup Data and dynamic adjustment of widget's property "top", remo

Why not use a container widget?  For the "containers" that you wish to hide, simply exclude/remove that row from your infotable being passed to the collection widget and then the collection widget will not render it.

View solution in original post

2 REPLIES 2
Highlighted

Re: Dynamic loading of Mashup Data and dynamic adjustment of widget's property "top", remo

Why not use a container widget?  For the "containers" that you wish to hide, simply exclude/remove that row from your infotable being passed to the collection widget and then the collection widget will not render it.

View solution in original post

Highlighted

Re: Dynamic loading of Mashup Data and dynamic adjustment of widget's property "top", remove blan...

Hi @sid_jhs.

 

If the previous response allowed you to find a solution, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Thank you for your participation in our community!

 

Regards.

 

--Sharon

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!