Thursday, 15 July 2010

oracle - add item inside Interactive Report Region -


I need to add a text box at the top of the interactive report area or between the action bar and the report. Trying to create an IRR but also did not succeed in it

A dynamic action on page load And set it to execute the javascript code I have posted below:

  document.getElementById ('apexir_TOOLBAR'). InnerHTML = document.getElementById ('apexir_TOOLBAR'). InnerHTML + '& lt; Label = "P5_X" class = "uOptional" Gt; & Gt; Label & gt; & Lt; / Td> & Lt; Td align = "left" valign = "middle" & gt; & Lt; Input type = "hidden" name = "p_arg_names" value = "11759631789729827" /> & lt; Input type = "text" id = "P5_X" name = "p_t01" class = "text_field" style = "margin: 5px" value = "" size = "30" maxlength = "4000" /> gt; Or using Oracle-Apex 'jquerysh' notation:  
  $ x ('apexir_TOOLBAR'). InnerHTML = $ x ('apexir_TOOLBAR'). Internal HTML + '& lt; Label = "P5_X" class = "uOptional" & gt; & Lt; / Labels & gt; & Lt; / Td> & Lt; Td align = "left" valign = "middle" & gt; & Lt; Input type = "hidden" name = "p_arg_names" value = "11759631789729827" /> gt; Input type = "text" id = "P5_X" name = "p_t01" class = "text_field" style = "margin: 5px" value = "" size = "30" maximum length = "4000" /> ';  

No comments:

Post a Comment