Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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
Solved! Go to Solution.
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.
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.
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