I have a diagnostic page where I hide regions that aren't relevant - ie, have no data returned.
Here I create a dynamic action that executes After Refresh of the relevant region.
The client-side condition evaluates the presence of the
The dynamic action then shows/hides the region, depending on the result of that JavaScript expression.
Instead of the region itself, this could relate to other components only relevant when records are returned.
Simples.
Here I create a dynamic action that executes After Refresh of the relevant region.
![]() |
Dynamic Action definition |
The client-side condition evaluates the presence of the
.nodatafound
class within the region, which is present only when no records are returned.![]() |
Inspect element of region with no records |
The dynamic action then shows/hides the region, depending on the result of that JavaScript expression.
Instead of the region itself, this could relate to other components only relevant when records are returned.
Simples.