Hello,
I'm fairly new to Dashboards so apologies if this is a silly question. I've read the 'Configure an element' docs about three times and I'm still not sure how this is supposed to work, or if I'm expecting the wrong things. This in particular:
- No data—For data-driven elements, configure a label that displays when there is no data to render on the element. By default, an element in this state displays the No Data label.
- No selection—When elements are configured to render only when a selection is made using the Render only when filtered option, you can configure how the element displays before rendering. By default, the title of the source element or elements from which selection is required is displayed. If the title is not available, the source elements name is shown instead.
I have several 'Details' elements. When I click on a map I have layer actions that filter the layer to show only the area selected (I'm working with school catchments layers). In some cases there are not school catchments for a particular age range.
I would expect that if a selection is made, but there is no data - because there is not a school for that age range in the selected area, that the 'No data' label would be displayed e.g. if there is no selection on the map all catchments say 'Please select the map to find out more' but if there is a selection on the map, but no junior school, it would say 'There is no junior school in this area'.
N.B. If I don't set 'Render only when filtered' it shows the first element in the unfiltered list which is exceptionally unhelpful because then it just always says 'XYZ Junior School'.
But that doesn't seem to be how it works, it only ever displays 'Please select the map to find out more.'
Am I making the wrong assumptions about how it works, am I using it wrong, or does it just not make a lot of sense?
Thanks for any insight you can provide 🙂