Loading...
Mark´s Playpen Integrating ExtJS javascript library with Oracle Application Express
APEX_PUBLIC_USER
Value
Rows Displayed
Instructions
Embedding an IRR report is quite straight forward.

Add a div tag to the region definition in the "region header" and "region footer" sections.
I've included the "x-hide-display" class, so the region is hidden until it's needed.

i.e.
<div id="hidden-irr-region" class="x-hide-display">
IRR report
</div>

Next write some ExtJS code for the window, referencing the div tag.
See "More Information" below for the javascript.

Note: I disabled the Actions Menu for the report because it uses absolute positioning and appears outside the window. Everything else works well though.
Show IRR report in Popup Window   
 


First Name
Last Name
Street Address
City
State
Post Code
1112222----
1112222----
1112222----
ArgentinaaaaaAbelism29 Elizabeth Road's AbcdefrRotterdamCA6639715
LindaAd8/27 Notley StECHUNGAWCA5153
qweAdam hasdfwFlat 33556 4 Bonnington RdLAKE TABOURIENSW2539
John-7777Adams127 Irby Bvd test 3333444444RUSONSW2560
Kathryn2AdamsPO BOX 150INGGARDAWA6701
Larry 1121Adams8 Dwyers RdST KILDAVIC3182
LynetteAdams11 Hookey St xzvzxcvzxfcvNORTH BOOVALQLD4304
MattAdams1 Betts Rd akjsMURRUMBONSW2849
NatalieAdams4 Belton StMUREWA6401
NigelsAdams186 Preolenna RdEDEN HILLWA6054
RFQWADGVAER1Adams254 Bathurst Street ffSEACOMBE GARDENSny5047
RobertAdams203 Woodbury Lane xHAWKERSA5434
1 - 15 Next
Page Comments

Author Comment
ajakalaDone From Istanbul​
aaa​aaaaaa
werwe​sdfsdfsd
consulta asedf
consultaSugerencias para el mapa 
RochusGreat! 
aashishIts awesome.
sonal comment
test test
GUunnarKomentera mi hit och sen dit!! 
ParthaIs it possible for  configure the Actions Menu to use relative positioning instead of absolute positioning?
Source Code   
<input type="button" id="show-win" value="Show Window"/>

<script type="text/javascript">

Ext.onReady(function(){

var button = Ext.get('show-win');

button.on('click', function(){
// ajaxContent for the center
var ajaxContent = new Ext.Panel({
region: 'center',
margins:'0 0 0 0',
autoScroll:true,
contentEl:'hidden-irr-region'
});

var win = new Ext.Window({
title: 'IRR report in an ExtJS window',
closable:true,
closeAction:'hide',
width:700,
height:350,
border:false,
plain:true,
layout: 'border',

items: [ajaxContent],

buttons: [{
text:'Submit',
disabled:true
},{
text: 'Close',
handler: function(){
win.hide();
}
}]
});

win.show(this);
});
});

</script>
Page Ref: 200801:2019
Generate: 0.13
  Release 1.0
©2008 Mark Lancaster. All rights reserved.
ExtJs