It depends on what you mean by "dynamically". You can have a hidden item with the text, and set the region title to "&PX_HIDDEN_ITEM.".
The region title is rendered on page load, so it won't change if you change the value of the hidden item with a DA.
Thank you Franck,
Your post is very helpful, but I think I have an odd setting somewhere. When I look at the source of the page, I see that the dynamic action is firing properly, but the title is not displaying.
My interactive grid name is "Commodities". The title I'm trying to create is (for example) "<h3>Commodities for activity xxx</h3>". While I work on an intranet and cannot provide a screenshot of the source here, the page source looks like:
<h2 class="u-VisuallyHidden" id="grid_heading">Commodities</h2>
However, using the Chrome inspector, it looks like this:
<h2 class="u-VisuallyHidden" id="cmdy_heading"> == $0
<h3>Commodities for activity xxx</h3>
In your example application, the class for your heading is class="t-Region-title" and the id="regout_heading", which I'm guessing makes a difference. I've tried changing the "Heading" value in the IG attributes to None, Page and Region, which doesn't change anything. Might you have any ideas how to change the heading class?
Thanks very much
1 person found this helpful
your class is "u-VisuallyHidden" because the attribute under Apperance--> template of your IG set to Interactive report please do change it to standard and it should just look like the one on my example.
That was exactly the issue. Thank you so much, the title shows up exactly as expected.