Skip to content Skip to sidebar Skip to footer

Adding Html Tag Into The Title Of The Tree Query In Oracle Apex

I have a requirement to make few text in the title of my tree query in Oracle APEX to bold by adding b tag. But when i do that, the tag is displayed at the front end. My query is a

Solution 1:

Struggled with this for hours but then found a solution via jQuery. Create a dynamic action that on page load and executes javascript. Find all items with class .a-TreeView-label (assuming that's the class name at runtime that you get as well - check to be sure) and loop over them and for each one, replace its text with itself. This forces it to re-render as HTML. My code in the javascript task:

$(".a-TreeView-label").each(function(index){
  $(this).replaceWith($(this).text());
});

Solution 2:

On the item attribute "Escape special characters" change to "No"

Post a Comment for "Adding Html Tag Into The Title Of The Tree Query In Oracle Apex"