Hi guys,
My application has a collapsibleset with a number of dynamic lists populated by a REST service. Each list item includes a grid with lables.
When the REST service provide a value for eth_type I'm able to detect the undefined values and reduce the size of the list.
I do so by using the following javascript when mapping label text like eth_type
if (typeof value === "undefined")
{
$(element).parent().parent().parent().hide();
}
The problem I have is that when the service doesn't include any response for some labels, the list is displayed empty.
How can I detect and hide these empty lists?