Hi,
On my page is one tab container with several tabs which contain some classic reports on them. I'd like to show whether the reports within the tabs have data so the user does not have to go through all the tabs to see if there is data available.
I used to to it the following way back in Apex 4.2 with the Tab Plugin:
In the footer of each report I placed the following.
<div id="csc_chronic_count" style="display:none;">#TOTAL_ROWS#</div>
For the tab title I used the a name and added an empty div with the id "csc_chronic_count_in" and also an font-awesome icon.
Then I placed the following code in the page footer so it gets executed after the tab region is rendered.
if ($("#csc_chronic_count").text()!="0")
$("#csc_chronic_count_in").html($("#csc_chronic_count").text());
Starting from Apex 5 Universal Theme I can't put my code in the footer anymore because it does not get loaded.
When I just put the code as a normal function and call it on page load it is unable to find the tab title.
Any help?