I have a dataset with a lot of missing attribution. As opposed to presenting the user with a popup that shows a bunch of empty values I'd like to toggle the visibility based on whether the particular field has a value. so for instance for a given fieldname definition:
{fieldname: "DPTH_M", label: "Depth (meters): ", visible: true },
if DPTH_M was empty I would not want to display this in the popup. Can visibility be toggled true or false based on this requirement?