Apex and ExtJS Grid...

Hi,
I have been trying to implement ExtJS into Apex also but i am getting an error which i couldnt find a way to sort it out....
Can somebody help me?
Here is the error message i got;
The container of an boundary-point of a range is being set to either a node of an invalid type or a node with an ancestor of an invalid type." code: "2
http://localhost:7777/i/javascript/apex_ns_3_1.js
Line 1
I have apex ver 3.2.1. and here is the code i have;
My Report Template is;
Started from scracth;
Row Template1; ["#1#","#2#","#3#","#4#","#5#"] Condition; #ROWNUM# = 1
Row Template2; ,["#1#","#2#","#3#","#4#","#5#"] Condition; #ROWNUM# > 1
Before Rows
<script type="text/javascript">
var myData = [
After Rows;
var store = new Ext.data.SimpleStore({
fields: [
{name: 'seq', mapping: '0', type:'int'},
{name: 'statusseq', mapping: '1', type:'int'},
{name: 'containertypeseq', mapping: '2', type:'int'},
{name: 'containerno', mapping: '3', type:'string'},
{name: 'dataorigin', mapping: '4', type:'string'}
store.loadData(myData);
var v_grid = new Ext.grid.GridPanel({
store: store,
columns: [
{id:'seq',header: "SEQ",sortable:true,dataIndex:'seq',width:10},
{header: "statusseq",sortable:true,dataIndex:'statusseq',width:10},
{header: "containertypeseq",sortable:true, dataIndex:'containertypeseq',width:20},
{header: "containerno",sortable:true,dataIndex:'containerno',width:20},
{header: "dataorigin", sortable:true,dataIndex:'dataorigin',width:30}
viewConfig:{
forceFit:true
width:700,
height: 560,
title:'Array Grid'
</script>
Region Source;
Select Seq AS "seq",
StatusSEQ as "statusseq",
ContainerTypeSEQ as "containertypeseq",
ContainerNo as "containerno",
DataOrigin as "dataorigin"
From TMS.Container
Region Header;
<p id="title_WINDOW_EXAMPLE" style="display:none:">EXTJS Grid</p>
<div id="contentE1_WINDOW_EXAMPLE">
Region Footer;
</div>
<BR>
<script type="text/javascript">
Ext.onReady(function(){
var v_window = new Ext.Window({
id:'id_WINDOW_EXAMPLE',
contentE1:'contentE1_WINDOW_EXAMPLE',
title:document.getElementById('title_WINDOW_EXAMPLE').textContent,
closable:true,
closeAction:'hide',
resizable:false,
plain:true,
allowDomMove: false,
autoScroll: false,
items: [v_grid]
v_window.show(this);
v_window.setSize({width:900, height:600});
</script>
HTML Header;
<link rel="stylesheet" type="text/css" href="/i/themes/ext1/resources/css/ext-all.css" />
<script type="text/javascript" src="/i/themes/ext1/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="/i/themes/ext1/ext-all.js"></script>
Thanks,
Osman...

Hi Ben,
I have changed it but still not working...
Here is the rendered data;
<div id="contentE1_WINDOW_EXAMPLE"><div id="report_4735417900555762_catch"><script type="text/javascript">
var myData = [
["7864","23","4","INKU6648374","YSSESB"],["7872","23","6","56.912AI5","YSSESB"],["7880","23","6","56.912AJ5","YSSESB"],["7888","23","6","56.912AJ13","YSSESB"],["7896","23","7","ZIMU1107306","YSSESB"],["7904","23","6","56.912AK6","YSSESB"],["7912","23","6","56.912AK14","YSSESB"],["7920","23","7","MSKU4623278","YSSESB"],["7928","23","6","YMLU4900642","YSSESB"],["7936","23","4","UETU5046731","YSSESB"],["7944","23","6","CBHU6303259","YSSESB"],["7952","23","4","CBHU8803320","YSSESB"],["7960","23","7","CRXU3065214","YSSESB"],["7968","23","7","GATU0186070","YSSESB"],["7976","23","7","IPXU3020398","YSSESB"],["7984","23","7","TGHU3381736","YSSESB"],["7992","23","7","CBHU3455279","YSSESB"],["8000","23","7","TTNU3303879","YSSESB"],["8008","23","7","CBHU3702548","YSSESB"],["8016","23","4","CBHU8605561","YSSESB"],["8024","23","7","CAXU6966510","YSSESB"],["8032","23","4","CBHU8202967","YSSESB"],["8040","23","7","CBHU5707810","YSSESB"],["8048","23","6","CBHU1784275","YSSESB"],["8056","23","4","CBHU8021320","YSSESB"],["8064","23","4","FCIU8571691","YSSESB"],["8072","23","7","TGHU0333354","YSSESB"],["8080","23","4","FSCU9061705","YSSESB"],["8088","23","7","CCLU2479189","YSSESB"],["8096","23","7","FCIU3294830","YSSESB"],["8104","23","4","CBHU8862404","YSSESB"],["7312","23","6","KKFU1658740","YSSESB"],["7320","23","6","MOFU0676000","YSSESB"],["8112","23","7","CBHU3619367","YSSESB"],["8120","23","7","CBHU3530475","YSSESB"],["8128","23","7","TRLU3910906","YSSESB"],["8136","23","6","KKFU1806344","YSSESB"],["8144","23","7","DAYU2137027","YSSESB"],["8152","23","6","HDMU4736964","YSSESB"],["8160","23","7","IPXU3274155","YSSESB"],["8168","23","6","CBHU1683433","YSSESB"],["8176","23","4","CBHU8109670","YSSESB"],["8184","23","6","CBHU1645881","YSSESB"],["8192","23","7","CMAU1087714","YSSESB"],["8200","23","4","ECMU9342104","YSSESB"],["8211","23","5","34DC8624","YSSESB"],["8219","23","5","34DC8622","YSSESB"],["8227","23","5","34EC1431","YSSESB"],["8235","23","6","HDMU5942928","YSSESB"],["8243","23","5","34DC8622","YSSESB"],["8251","23","7","GATU4008550","YSSESB"],["8259","23","6","TTNU4577431","YSSESB"],["8267","23","6","FSCU4390415","YSSESB"],["8275","23","7","MSCU6532007","YSSESB"],["8283","23","6","TTNU4577431","YSSESB"],["8291","23","6","OKCU4901760","YSSESB"],["8299","23","7","CBHU3298647","YSSESB"],["8307","23","6","CBHU1689730","YSSESB"],["8315","23","6","TTNU5580661","YSSESB"],["8323","23","6","TTNU5580661","YSSESB"],["8331","23","6","TGHU4682138","YSSESB"],["8339","23","4","CBHU8734872","YSSESB"],["8347","23","7","CBHU5625918","YSSESB"],["8355","23","4","GESU5202673","YSSESB"],["8363","23","7","HJCU8471376","YSSESB"],["8371","23","6","CBHU6328771","YSSESB"],["8379","23","6","YMLU4878723","YSSESB"],["8387","23","6","CLHU4741955","YSSESB"],["8395","23","6","KKFU1807320","YSSESB"],["8403","23","7","KKTU7366273","YSSESB"],["8411","23","6","CBHU6227797","YSSESB"],["8419","23","6","CBHU6227797","YSSESB"],["8427","23","4","CBHU8235024","YSSESB"],["8435","23","6","KKFU1416984","YSSESB"],["8443","23","6","HJCU4946220","YSSESB"],["8854","23","4","TCKU9784476","YSSESB"],["8862","23","7","INBU3688025","YSSESB"],["8870","23","7","TTNU3243804","YSSESB"],["8879","23","5","34TL3182","YSSESB"],["8887","23","5","34BT3378","YSSESB"],["8895","23","6","HJCU4017513","YSSESB"],["8903","23","6","GCNU4032251","YSSESB"],["8911","23","7","CAXU6967347","YSSESB"],["8919","23","7","IPXU3911063","YSSESB"],["8927","23","7","MSKU7313580","YSSESB"],["8935","23","7","ECMU1273157","YSSESB"],["8943","23","7","TTNU3435807","YSSESB"],["8951","23","7","ECMU1401788","YSSESB"],["8959","23","7","TRLU3035950","YSSESB"],["8967","23","13","TCKU2559452","YSSESB"],["8975","23","7","CBHU5654686","YSSESB"],["8983","23","4","CBHU8718233","YSSESB"],["8991","23","7","CAXU6362546","YSSESB"],["8999","23","6","061001ON","YSSESB"],["9007","23","7","MSKU3648179","YSSESB"],["9015","23","7","CBHU5501476","YSSESB"],["9023","23","4","CBHU8807496","YSSESB"],["9031","23","6","KKFU1246717","YSSESB"],["9039","23","6","UXXU4332486","YSSESB"],["9047","23","7","GESU3231348","YSSESB"],["9055","23","4","PCIU9954416","YSSESB"],["9063","22","4","CAXU9185547","YSSESB"],["9071","23","6","GVCU4035213","YSSESB"],["9079","23","6","GVCU4035213","YSSESB"],["9087","23","4","MSKU9137176","YSSESB"],["9095","23","6","MSKU6594501","YSSESB"],["9103","23","4","MSKU9137176","YSSESB"],["9111","23","4","INKU6361018","YSSESB"],["9119","23","34","TCKU2562693","YSSESB"],["9127","23","7","671001AA","YSSESB"],["9135","23","4","HDMU5494166","YSSESB"],["9143","23","4","CCLU6095387","YSSESB"],["9151","23","6","GVDU4010013","YSSESB"],["9159","23","6","CCLU4814028","YSSESB"],["9167","23","6","UESU4220974","YSSESB"],["9175","23","7","CBHU5591211","YSSESB"],["9183","23","7","GESU3165483","YSSESB"],["9191","23","7","GESU3165483","YSSESB"],["9199","23","4","ECMU9088807","YSSESB"],["9207","23","4","MEDU8361609","YSSESB"],["9215","23","4","CCLU7258350","YSSESB"],["9223","23","7","UXXU2413969","YSSESB"],["9231","23","4","MAEU8088802","YSSESB"],["9239","23","7","TRLU9736258","YSSESB"],["9247","23","6","ECMU4617277","YSSESB"],["9255","22","6","GVCU4161633","YSSESB"],["9263","23","7","CBHU3732558","YSSESB"],["9271","23","6","CCLU4195068","YSSESB"],["9279","23","7","XINU1325017","YSSESB"],["9287","23","7","TCKU2000470","YSSESB"],["9295","23","7","GVCU2049516","YSSESB"],["9303","23","7","CAXU3127918","YSSESB"],["9311","23","7","DVRU1638292","YSSESB"],["9319","23","7","TGHU3923884","YSSESB"],["9327","23","6","MRKU0081156","YSSESB"],["9335","23","7","EISU3718476","YSSESB"],["9343","23","7","KKTU7244676","YSSESB"],["9351","23","6","KKFU1172419","YSSESB"],["9359","23","6","UESU4220974","YSSESB"],["9367","23","7","TEXU2469974","YSSESB"],["9375","23","7","KKTU7244676","YSSESB"],["9383","23","4","FSCU9118945","YSSESB"],["9391","23","7","TRLU9736258","YSSESB"],["9399","23","7","FCIU2948957","YSSESB"],["9407","23","4","FCIU8434317","YSSESB"],["9415","23","4","UACU5192198","YSSESB"],["9423","23","7","MSCU6610162","YSSESB"],["9431","23","7","TCLU2196267","YSSESB"],["9439","23","7","IPXU3798147","YSSESB"],["9448","23","7","TTNU1752504","YSSESB"],["9456","22","6","CCLU4326907","YSSESB"],["9464","23","7","CBHU3430590","YSSESB"],["9472","23","4","CLHU8953910","YSSESB"],["9480","23","7","CBHU5619978","YSSESB"],["9488","23","6","TGHU4993572","YSSESB"],["9496","23","7","CBHU3511330","YSSESB"],["9504","23","5","34DC8622","YSSESB"],["9512","23","7","CBHU5864949","YSSESB"],["9520","23","6","CCLU4869329","YSSESB"],["9528","22","6","OOLU7257744","YSSESB"],["9536","23","6","CAIU4051190","YSSESB"],["9544","23","7","KKFU1567743","YSSESB"],["9570","22","6","KKFU1503040","YSSESB"],["9574","23","4","AMFU8736202","YSSESB"],["9578","23","4","ECMU4719392","YSSESB"],["9582","22","7","IPXU3629168","YSSESB"],["9586","23","7","KKTU7231088","YSSESB"],["9590","23","21","661001AK1","YSSESB"],["9594","23","7","SEAU2258148","YSSESB"],["9598","23","7","HDMU2447807","YSSESB"],["9602","23","7","TGHU3981849","YSSESB"],["9606","22","7","HJCU2116440","YSSESB"],["9610","23","7","BMOU2306331","YSSESB"],["9614","23","6","HJCU4415672","YSSESB"],["9618","23","6","861001AC","YSSESB"],["9622","23","7","APLU8872540","YSSESB"],["9626","23","7","GLDU3379497","YSSESB"],["9630","23","4","761001AD","YSSESB"],["9573","22","4","TTNU9636434","YSSESB"],["9581","23","7","IPXU3629168","YSSESB"],["9589","23","21","661001AK","YSSESB"],["9597","23","7","TGHU3820802","YSSESB"],["9605","23","7","HJCU2116440","YSSESB"],["9613","23","6","HJCU4415672","YSSESB"],["9621","23","7","TCNU9943464","YSSESB"],["9629","23","6","CCLU4170049","YSSESB"],["9444","23","7","TTNU1752504","YSSESB"],["9452","23","7","MBIU8248766","YSSESB"],["9460","23","4","CBHU9972216","YSSESB"],["9468","22","6","CBHU6082414","YSSESB"],["9476","23","4","INKU6169540","YSSESB"],["9484","23","7","CBHU5619978","YSSESB"],["9492","22","6","CCLU4245019","YSSESB"],["9500","23","5","34DC8622","YSSESB"],["9508","23","7","CAXU6910573","YSSESB"],["9516","22","6","CBHU6051141","YSSESB"],["9524","23","7","FSCU3415910","YSSESB"],["9532","23","4","CBHU8058649","YSSESB"],["9540","23","6","KKFU1516556","YSSESB"],["9567","23","7","OOLU8597796","YSSESB"],["9577","23","6","MSKU6233026","YSSESB"],["9585","22","7","KKTU7231088","YSSESB"],["9593","23","7","SEAU2258148","YSSESB"],["9601","23","4","TGHU9316450","YSSESB"],["9609","22","6","HJCU4415672","YSSESB"],["9617","23","4","TRLU7103543","YSSESB"],["9625","23","7","CBHU3231113","YSSESB"],["9576","22","7","MSKU3802685","YSSESB"],["9584","23","7","IPXU3629168","YSSESB"],["9592","23","7","PONU2015725","YSSESB"],["9600","23","4","TGHU9316450","YSSESB"],["9608","23","6","HJCU4415672","YSSESB"],["9616","23","4","TRLU7103543","YSSESB"],["9624","23","4","CRXU9822249","YSSESB"],["9632","23","7","MGLU2946017","YSSESB"],["8459","23","4","YMLU8497643","YSSESB"],["8467","23","6","CBHU1982476","YSSESB"],["8475","23","4","GLDU7090970","YSSESB"],["8483","23","4","GATU8693678","YSSESB"],["8491","23","7","PONU0276252","YSSESB"],["8499","23","7","PONU0276252","YSSESB"],["8507","23","7","TCKU9233386","YSSESB"],["8515","23","7","CBHU3337147","YSSESB"],["8523","23","4","CBHU8404567","YSSESB"],["8531","23","4","CAXU9516901","YSSESB"],["8539","23","6","SLSU7010070","YSSESB"],["8547","23","5","34EC1435","YSSESB"],["8555","23","6","HJCU4117050","YSSESB"],["8563","23","7","KKTU7917756","YSSESB"],["8571","23","7","KKTU7319250","YSSESB"],["8579","23","7","GLDU3573727","YSSESB"],["8587","23","7","KKTU7163764","YSSESB"],["8595","23","4","MSKU9946798","YSSESB"],["8603","23","4","HJCU1901541","YSSESB"],["8611","23","7","GLDU2297389","YSSESB"],["8619","23","4","YMLU8208571","YSSESB"],["8627","23","7","CBHU5912081","YSSESB"],["8635","23","7","CBHU3916004","YSSESB"],["8643","23","6","HJCU4161618","YSSESB"],["8651","23","6","TEXU7242089","YSSESB"],["8659","23","6","CBHU1784763","YSSESB"],["8667","23","7","TCKU3012393","YSSESB"],["8675","23","34","CBHU3477719","YSSESB"],["8683","23","7","SCSU8008654","YSSESB"],["8691","23","4","CBHU9848859","YSSESB"],["8699","23","6","CBHU1994482","YSSESB"],["8707","23","6","CCLU4357174","YSSESB"],["8715","23","7","IPXU3344587","YSSESB"],["8723","23","4","CBHU9839517","YSSESB"],["8731","23","4","CCLU6682635","YSSESB"],["8739","23","4","GESU5622110","YSSESB"],["8747","23","4","CCLU6682635","YSSESB"],["8755","23","4","CBHU8718233","YSSESB"],["8763","23","7","TCKU3037072","YSSESB"],["8771","23","7","DFSU2067774","YSSESB"],["8779","23","7","SGCU2173235","YSSESB"],["8787","23","7","CBHU3575973","YSSESB"],["8795","23","6","CCLU4732254","YSSESB"],["8803","23","19","801001AA","YSSESB"],["8811","23","6","CAXU4775828","YSSESB"],["8819","23","7","ECMU2015769","YSSESB"],["8827","23","6","SUDU4629921","YSSESB"],["8835","23","4","TGHU8264028","YSSESB"],["8843","23","34","CBHU3887837","YSSESB"],["9366","23","7","KKTU7342939","YSSESB"],["9374","23","6","DFSU4055556","YSSESB"],["9382","23","7","TTNU3723275","YSSESB"],["9390","23","4","FSCU9118945","YSSESB"],["9398","23","7","FCIU2948957","YSSESB"],["9406","23","4","YMLU8418412","YSSESB"],["9414","23","6","PONU1290804","YSSESB"],["9422","23","7","TCKU3495711","YSSESB"],["9430","23","4","TTNU9247978","YSSESB"],["9438","23","7","IPXU3798147","YSSESB"],["9443","23","7","TTNU1752504","YSSESB"],["9451","23","7","SBAU2978707","YSSESB"],["9459","22","7","MBIU8248719","YSSESB"],["9467","23","6","TGHU4677234","YSSESB"],["9475","23","4","CBHU8286504","YSSESB"],["9483","23","6","CBHU6131817","YSSESB"],["9491","23","4","DFSU6180768","YSSESB"],["9499","23","5","34DC8622","YSSESB"],["9507","22","7","TCKU2431409","YSSESB"],["9515","23","7","TGHU0380968","YSSESB"],["9523","23","7","GLDU3549309","YSSESB"],["9531","23","6","YMLU4747636","YSSESB"],["9539","23","7","CBHU3369102","YSSESB"],["9547","23","24","861001AB","YSSESB"],["9572","23","7","HJCU8200522","YSSESB"],["9580","23","4","CBHU8004051","YSSESB"],["9588","23","7","YMLU2786844","YSSESB"],["9596","23","4","HJCU1077648","YSSESB"],["9604","23","7","CCLU2490254","YSSESB"],["9612","22","4","YMLU8338261","YSSESB"],["9620","23","7","IRSU2494054","YSSESB"],["9628","23","4","TGHU8837095","YSSESB"],["8857","23","4","HDMU5446867","YSSESB"],["8865","23","7","TTNU3243804","YSSESB"],["8874","23","5","EISU3835889","YSSESB"],["8882","23","5","34DC8623","YSSESB"],["8890","23","6","SLSU7049765","YSSESB"],["8898","23","7","UESU2342612","YSSESB"],["8906","23","7","FCIU3798189","YSSESB"],["8914","23","7","IPXU3911063","YSSESB"],["8922","23","7","CAXU3105992","YSSESB"],["8930","23","7","MSKU5462748","YSSESB"],["8938","23","7","GSTU2976492","YSSESB"],["8946","23","7","DVRU1362516","YSSESB"],["8954","23","7","GESU2454049","YSSESB"],["8962","23","7","KKTU7581450","YSSESB"],["8970","23","6","CBHU6128520","YSSESB"],["8978","23","6","CBHU6128520","YSSESB"],["8986","23","7","311001NA","YSSESB"],["8994","23","7","HJCU8238214","YSSESB"],["9002","23","7","FCIU2749301","YSSESB"],["9010","23","7","MSKU5097218","YSSESB"],["9018","23","7","TCKU2410540","YSSESB"],["9026","23","7","ALNU9190117","YSSESB"],["9034","23","7","ALNU2100030","YSSESB"],["9042","23","6","CCLU4491326","YSSESB"],["9050","23","7","GESU3231348","YSSESB"],["9058","23","7","EOLU3287951","YSSESB"],["9066","23","6","GVCU4035213","YSSESB"],["9074","23","6","GVCU4035213","YSSESB"],["9082","23","7","POCU0554684","YSSESB"],["9090","23","4","MSKU9137176","YSSESB"],["9098","23","6","TTNU4011090","YSSESB"],["9106","23","4","MSKU9137176","YSSESB"],["9114","23","6","CAXU7443180","YSSESB"],["9122","23","4","WFHU5068640","YSSESB"],["9130","23","7","KKFU1668315","YSSESB"],["9138","23","6","FBLU4001271","YSSESB"],["9146","23","7","GESU3231348","YSSESB"],["9154","23","45","CBHU5661303","YSSESB"],["9162","23","4","EISU9121343","YSSESB"],["9170","23","6","UESU4220974","YSSESB"],["9178","23","7","CNCU1606026","YSSESB"],["9186","23","6","CBHU1929825","YSSESB"],["9194","23","7","MSKU7300155","YSSESB"],["9202","23","4","TRLU7196356","YSSESB"],["9210","23","7","CBHU3987775","YSSESB"],["9218","23","7","TCKU2552951","YSSESB"],["9226","23","7","UXXU2413969","YSSESB"],["9234","23","6","TTNU4980874","YSSESB"],["9242","23","6","TGHU4480501","YSSESB"],["9250","23","6","TGHU4480501","YSSESB"],["9258","22","6","GVCU4161633","YSSESB"],["9266","23","6","CCLU5056555","YSSESB"],["9274","23","6","CCLU4716145","YSSESB"],["9282","23","4","GESU5426185","YSSESB"],["9290","23","45","CBHU5786569","YSSESB"],["9298","23","7","CAXU3127918","YSSESB"],["9306","23","7","UXXU2379648","YSSESB"],["9314","23","7","ECMU2072898","YSSESB"],["9322","23","46","MRKU0310186","YSSESB"],["9330","23","7","EISU3718476","YSSESB"],["9338","23","7","EISU3718476","YSSESB"],["9346","23","7","061001PA","YSSESB"],["9354","23","7","KKTU7058500","YSSESB"],["9362","23","7","UXXU2413969","YSSESB"],["9370","23","4","IRNU4603156","YSSESB"],["9378","23","7","EMCU3054266","YSSESB"],["9386","23","4","FSCU9118945","YSSESB"],["9394","23","6","FSCU4395696","YSSESB"],["9402","23","4","FSCU9684048","YSSESB"],["9410","23","4","YMLU8418412","YSSESB"],["9418","23","7","TRIU3620374","YSSESB"],["9426","23","7","MSCU6837011","YSSESB"],["9434","23","6","SESU6032510","YSSESB"],["9442","23","7","IPXU3798147","YSSESB"],["9450","23","7","TTNU1752504","YSSESB"],["9458","23","4","GESU4872557","YSSESB"],["9466","23","6","GVCU4160730","YSSESB"],["9474","23","4","CBHU8428110","YSSESB"],["9482","23","6","CBHU6131817","YSSESB"],["9490","23","7","CBHU5619978","YSSESB"],["9498","23","5","34DC8622","YSSESB"],["9506","23","7","CBHU3166701","YSSESB"],["9514","23","7","CBHU5864949","YSSESB"],["9522","23","7","TCKU9884916","YSSESB"],["9530","23","7","TCLU2186680","YSSESB"],["9538","23","6","TTNU4166657","YSSESB"],["9546","22","5","561001AE","YSSESB"],["9571","23","4","CBHU8614856","YSSESB"],["9579","23","4","TRLU6361625","YSSESB"],["9587","23","7","GESU3472345","YSSESB"],["9595","23","7","OOLU3656366","YSSESB"],["9603","23","4","TGHU9316450","YSSESB"],["9611","23","6","HJCU4415672","YSSESB"],["9619","23","6","861001AC2","YSSESB"],["9627","23","7","CBHU3987775","YSSESB"],["7327","23","7","GLDU2291652","YSSESB"],["7335","23","4","TRLU7208971","YSSESB"],["7343","23","7","OOLU3694730","YSSESB"],["7351","23","5","34BT3378","YSSESB"],["7359","23","6","CBHU6144239","YSSESB"],["7367","23","7","CBHU5561623","YSSESB"],["7375","23","7","CBHU3433840","YSSESB"],["7383","23","7","CAIU2289173","YSSESB"],["7391","23","6","CBHU6090636","YSSESB"],["7399","23","7","CBHU5877313","YSSESB"],["7407","23","4","CBHU8198240","YSSESB"],["7415","23","7","FCIU3582878","YSSESB"],["7423","23","4","CBHU8040260","YSSESB"],["7431","23","7","TCKU1908009","YSSESB"],["7439","23","7","CAIU2440839","YSSESB"],["7447","23","4","HJCU1459548","YSSESB"],["7455","23","7","GATU1329849","YSSESB"],["7463","23","7","CBHU3651630","YSSESB"],["7471","23","5","TCNU9953797","YSSESB"],["7479","23","6","HDMU673651","YSSESB"],["7487","23","4","MSKU9716990","YSSESB"],["7495","23","7","UACU3489504","YSSESB"],["7503","23","6","HDMU648868","YSSESB"],["7511","23","6","TRLU662814","YSSESB"],["7519","23","7","TCLU2019240","YSSESB"],["7527","23","7","CBHU5753312","YSSESB"],["7535","23","4","FSCU9116325","YSSESB"],["7543","23","4","FSCU9116325","YSSESB"],["7551","23","7","IMTU3060376","YSSESB"],["7559","23","5","34TL3183","YSSESB"],["7567","23","4","CBHU8649955","YSSESB"],["7575","23","4","CBHU8649955","YSSESB"],["7583","23","5","34TL3183","YSSESB"],["7591","23","4","TCKU9845355","YSSESB"],["7599","23","4","TRLU7417713","YSSESB"],["7607","23","7","TTNU3274507","YSSESB"],["7615","23","4","CBHU8579082","YSSESB"],["7623","23","4","TCNU9616440","YSSESB"],["7631","23","7","TGHU3277207","YSSESB"],["7639","23","6","CBHU1843911","YSSESB"],["7647","23","6","PONU1423363","YSSESB"],["7655","23","7","INKU2672367","YSSESB"],["7663","23","5","NYKU4110366","YSSESB"],["7671","23","28","KTNU4190994","YSSESB"],["7679","23","6",".","YSSESB"],["7687","23","4","ZCSU8597269","YSSESB"],["7695","23","41","MSKU4607997","YSSESB"],["7703","23","7","YMLU3164640","YSSESB"],["7711","23","7","TTNU1929729","YSSESB"],["7719","23","7","CBHU3782501","YSSESB"],["7727","23","6","EMCU1211113","YSSESB"],["7735","23","4","FSCU6495776","YSSESB"],["7743","23","7","GESU3654062","YSSESB"],["7751","23","11","MSKU4068766","YSSESB"],["7759","23","6","INBU5383961","YSSESB"],["7767","23","6","INBU5383961","YSSESB"],["7775","23","7","CBHU5638746","YSSESB"],["7783","23","7","CBHU3936799","YSSESB"],["7791","23","4","CAXU9185547","YSSESB"],["7799","23","7","CBHU5942390","YSSESB"],["7807","23","6",".","YSSESB"],["7815","23","7","CRXU3216814","YSSESB"],["7823","23","5","34DC8624","YSSESB"],["7831","23","6","KKFU1765712","YSSESB"],["7839","23","6","KKFU1765712","YSSESB"],["7847","23","7","WFHU1211331","YSSESB"],["7855","23","6","TCKU2674414","YSSESB"],["7863","23","7","FSCU3331207","YSSESB"],["7871","23","6","56.912AI4","YSSESB"],["7879","23","6","56.912AJ4","YSSESB"],["7887","23","6","56.912AJ12","YSSESB"],["7895","23","4","TCKU9136426","YSSESB"],["7903","23","6","56.912AK5","YSSESB"],["7911","23","6","56.912AK13","YSSESB"],["7919","23","6","BMOU3030612","YSSESB"],["7927","23","7","MSKU2813263","YSSESB"],["7935","23","6","CBHU1707284","YSSESB"],["7943","23","7","CBHU3448032","YSSESB"],["7951","23","4","CBHU8771238","YSSESB"],["7959","23","7","CLHU2894024","YSSESB"],["7967","23","7","FSCU3103932","YSSESB"],["7975","23","7","IPXU3011441","YSSESB"],["7983","23","7","TGHU2540160","YSSESB"],["7991","23","7","WFHU1149472","YSSESB"],["7999","23","7","CARU2681339","YSSESB"],["8007","23","45","CBHU3315847","YSSESB"],["8015","23","7","TCKU3037391","YSSESB"],["8023","23","4","AMFU8770758","YSSESB"],["8031","23","7","CBHU5679637","YSSESB"],["8039","23","6","UXXU4338397","YSSESB"],["8047","23","6","TRLU8629152","YSSESB"],["8055","23","7","CBHU3493957","YSSESB"],["8063","23","4","KKFU7541350","YSSESB"],["8071","23","7","TGHU0333354","YSSESB"],["8079","23","4","FSCU9061705","YSSESB"],["8087","23","4","CBHU8404567","YSSESB"],["8095","23","7","CBHU3448032","YSSESB"],["8103","23","7","FCIU3106784","YSSESB"],["7311","23","6","KKFU1658740","YSSESB"],["7319","23","5","34TL3184","YSSESB"],["8111","23","7","CBHU3619367","YSSESB"],["8119","23","4","CBHU8862404","YSSESB"],["8127","23","7","CBHU5626200","YSSESB"],["8135","23","6","KKFU1142008","YSSESB"],["8143","23","7","DAYU2137027","YSSESB"],["8151","23","7","HDMU5539044","YSSESB"],["8159","23","7","IPXU3274155","YSSESB"],["8167","23","7","CBHU3507520","YSSESB"],["8175","23","4","CBHU8437236","YSSESB"]];
var store = new Ext.data.SimpleStore({
fields: [
{name: 'seq', mapping: '0', type:'int'},
{name: 'statusseq', mapping: '1', type:'int'},
{name: 'containertypeseq', mapping: '2', type:'int'},
{name: 'containerno', mapping: '3', type:'string'},
{name: 'dataorigin', mapping: '4', type:'string'}
store.loadData(myData);
var v_grid = new Ext.grid.GridPanel({
store: store,
columns: [
{id:'seq',header: "SEQ",sortable:true,dataIndex:'seq',width:10},
{header: "statusseq",sortable:true,dataIndex:'statusseq',width:10},
{header: "containertypeseq",sortable:true, dataIndex:'containertypeseq',width:20},
{header: "containerno",sortable:true,dataIndex:'containerno',width:20},
{header: "dataorigin", sortable:true,dataIndex:'dataorigin',width:30}
viewConfig:{
forceFit:true
width:700,
height: 560,
title:'Array Grid'
</script></div></div>
<BR>
<script type="text/javascript">
Ext.onReady(function(){
var v_window = new Ext.Window({
id:'id_WINDOW_EXAMPLE',
contentE1:'contentE1_WINDOW_EXAMPLE',
title:'Title',
closable:true,
closeAction:'hide',
resizable:false,
plain:true,
allowDomMove: false,
autoScroll: false,
items: [v_grid]
v_window.show(this);
v_window.setSize({width:900, height:600});
</script></div>
Thanks you very much,
Osman...

Similar Messages

  • Oracle apex and extjs grid table

    hi
    im new to extjs and i was wondering if someone can help me with this;
    i want to create a report in oracle apex and put the output in extjs grid table
    for example i want to view the output of select * from all_objects in grid table
    thnx in advance

    Okay
    To get you started...
    Create a new report template with named rows.
    In row 1 template put this
    ["#1#","#2#","#3#","#4#","#5#","#6#","#7#","#8#"]Assuming you have 8 rows say... and make it conditional based on a PL/SQL Expression like this
    #ROWNUM# = 1Then row 2 template like this
    ,["#1#","#2#","#3#","#4#","#5#","#6#","#7#","#8#"]Conditional on
    #ROWNUM# > 1Then in before row put this
    <script type="text/javascript">
    Ext.onReady(function(){
    var munkyData = [And after rows something like this (based on the emp table)
    var store = new Ext.data.SimpleStore({
          fields: [
                   {name: 'empno', mapping: '0'},
                   {name: 'ename', mapping: '1'},
                   {name: 'job', mapping: '2'},
                   {name: 'mgr', mapping: '3'},
                   {name: 'hiredate', mapping: '4'},
                   {name: 'sal', mapping: '5'},
                   {name: 'comm', mapping: '6'},
                   {name: 'deptno', mapping: '7'}
    store.loadData(munkyData);
    var grid = new Ext.grid.GridPanel({
           store: store,
           columns: [
                     {id:'empno',header: "Employee",sortable:true, width:100,dataIndex:'empno'},
                     {header: "Name", sortable:true,width:75, dataIndex:'ename'},
                     {header: "Job", sortable:true, dataIndex:'job'},
                     {header: "Manager", sortable:true,width:75, dataIndex:'mgr'},
                     {header: "Hire Date", sortable:true,dataIndex:'hiredate'},
                     {header: "Salary", sortable:true,width:50,dataIndex:'sal'},
                     {header: "Commission", sortable:true,dataIndex:'comm'},
                     {header: "Department", dataIndex:'deptno'}
           stripeRows: true,
           width:700,
           autoHeight:true,
           title:'Array Grid',
           renderTo: 'munkyDiv'
    </script>Then create a region to hold it with a source of
    <div id="munkyDiv>
    </div>
    {code}
    This is pretty basic but it should get you going...
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    +Don't forget to mark replies helpful or correct+ ;)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • ExtJS Grid and Apex

    I have been experimenting quite a bit with ExtJS and unfortunately hit a roadblock and thought of getting help from this forum. I followed the directions given in this post Re: oracle apex and extjs grid table and was able to make it work. However the Grid is displaying outside the region where it has been defined as if it is independently rendering in its region of choice.
    I could post the screen shot and don't know how to work around the restriction of this message board, not allowing any attachments.
    Any help is greatly appreciated.
    Environment info: Apex 4.0
    Local host,
    ExtJS: 4.0.2
    Thanks
    Raja

    The book was written to use Ext JS 3.x, the latest production version at the time.
    Some of the examples will work, some will require rework. Sencha have published a migration guide, including a <b>compatibility layer</b> that bootstraps existing Ext JS 3 code to run under Ext JS 4.
    The book promotes the idea of not updating your application templates, instead having a template application which allows you to test your components before publishing a new version of the theme to the business application.
    If you are just starting out, you could drop in the books theme as version 1 using Ext JS 3.x, get your team working on the application immediately, and have a dedicated resource working on theme version 2 using Ext JS 4.x.
    Regards
    Mark
    demo: http://apex.oracle.com/pls/otn/f?p=200801 |
    blog: http://oracleinsights.blogspot.com |
    book: Oracle Application Express 4.0 with Ext JS

  • Extjs grid or jquery jqGrid

    Hi,
    Has anyone successfully integrate Oracle Apex with extjs grid or jquery jqGrid? How can I call an onDemand process to return XML or JSON data and use that for those grids?
    Thanks.
    Andy

    Hi Andy
    It's easy enough to integrate the extJS grid, you just need to break the problem down into a series of small steps.
    To tackle the problem, I'd do the following steps.
    1. Copy a extJS grid example, with the grid data embedded in the page.
    2. Once step 1 works, move the grid data into a PL/SQL package, and call this via a application process.
    3. Once step 2 works, work out how to create the grid data dynamically in your PL/SQL package. Make sure you consider escaping your data if returning JSON.
    4. You get the idea...
    It's just a case of chipping away at the problem, and learning as you go.
    I don't have a grid on my [demo site|http://apex.oracle.com/pls/otn/f?p=200801:1:], but the examples should help with creating an application process, and you can see the JSON data being returned in Firebug.
    In case your wondering why I don't have an extJS grid...
    If I built a one off solution my users would immediately demand that functionality everywhere, and I'd have to do a whole lot of work to build a complete generic solution.
    It's much easier to use the Apex interactive reports for read-only, and AJAX enabled updatable reports with a bit of CSS to get a good looking solution.
    Mark

  • APEX 4.2 aligning issue of Stop and Start Grid Layout item

    My APEX application application is in the process of moving from 4.0 to 4.2.  I am experiencing an issue with aligning (left margin justified) of Stop and Start Grid Layout items that have a border around them.  Earlier I had an issue with the border itself not showing up in the 4.2 application.  I was able to resolve that with a workaround by adding inline code in the CSS section of the page: #P23_OFFICE_START_TBL {width:682; border:1px solid #369; margin:5px;}. This created the border which I needed, but there are 2 Stop and Start Grid Layout items that are indented and not aligning with the border of the previous line.  I have tried a number of different things but none of them have worked.  This seems like a very simple issue to fix but I am having a tough time resolving it.
    I tried to put the item in question in a different grid, which corrected the indention but then I lost the border around the item.  It seems that the above CSS code does not work on the new grid.  I also tried to put attributes such as margin-left:5px; float: left; clear: left; float: left, in the CSS code but that did not work, too.
    Any suggestions?
    Thanks
    Ajay K

    I deleted and added back the Stop and Start Grid Layout items not aligning properly.  This worked.  Apparently, the 4.0 to 4.2 upgrade did not handle/convert these items properly.  Deleting and adding them back resolved the issue.

  • Extjs grid with pagination

    hi,
    i just start learning how to integrate extjs with oracle apex.
    i manage to create a normal extjs grid but got problem when trying to create
    a grid with pagination.
    lets say ihave 100 rows of data, and i want to show only 10 rows of data per page, so how should i do that?
    i know i need to send a request to so that i will get data 1-10 for the first page, and then when i click next,
    i will get data 11-20 and so on.
    but i dont know how to make it happen. i cannot find any example on the net.
    how to know what is the current data set, (is it 1-10 or 11-20) , so that i can pass the correct values for start, to the application
    process?
    hope someone here can help me.
    thanks,
    -aku
    Edited by: akulala on Sep 5, 2010 6:25 AM

    Hi Aku
    As far as I recall, alot of this came from Mark Lancaster so I would advise googling for his blog and having a look there - it may well make a lot more sense than this does.
    I normally build my ExtJS script up at page loaed time using a package and print it out using htp.prn. So for the pagination, I would print out something like this...
        htp.p('<script>var u = (window.location.href.indexOf("?") > 0) ? window.location.href.substring(0,window.location.href.indexOf("?")) : window.location.href;
               var baseURL = u.substring(0,u.lastIndexOf("/"));
               var gridURL = baseURL + ''/wwv_flow.show?p_flow_id='' + Ext.getDom(''pFlowId'').value + ''&p_flow_step_id=0&p_instance='' + '||
              'Ext.getDom(''pInstance'').value + ''&p_request=APPLICATION_PROCESS%3DejPaginate'';</script>');And then my store would be defined as something like this...
    myStore = new Ext.data.Store({
                  storeId: 'myStore',
                  proxy: new Ext.data.ScriptTagProxy({
                  url: gridURL,
                  nocache: false,
                  callbackParam: 'p_widget_num_return'
                  baseParams: {'x01':'&APP_ID.', 'x02':'&APP_PAGE_ID.', 'x03':'xyz'},  //the xyz would be your region
                                                                                       //ID passed into the procedure I gave you in my previous post
                  remoteSort: true,
                  paramNames: {
                  start: 'x04', // The parameter name which specifies the start row
                  limit: 'x05', // The parameter name which specifies number of rows to return
                  sort: 'x06',  // The parameter name which specifies the column to sort on
                  dir: 'x07'    // The parameter name which specifies the sort direction
                  reader: myReader
                  });And my application process (ejPaginate in the above example) would look something like this...
    BEGIN
      htp.p(wwv_flow.g_widget_num_return||'(');
      get_grid_json(p_app_id => wwv_flow.g_x01,
                        p_app_page_id => wwv_flow.g_x02,
                        p_region_id => TO_NUMBER(wwv_flow.g_x03),
                        p_start => NVL(wwv_flow.g_x04,0),
                        p_limit => NVL(wwv_flow.g_x05,10),
                        p_sort => wwv_flow.g_x06,
                        p_dir => wwv_flow.g_x07);
      htp.p(')');
    END;Hope this helps you along.
    Cheers
    Ben

  • Apex and the Oracle Change Management Pack

    Hi everyone
    I'm looking for some feedback from anyone that has used the Oracle Change Management Pack (CMP) with an Apex development (or is it really only for Oracle Apps)?
    Could the CMP be used against the APEX_04000 schema to sync a Dev environment with Test and Production? If so, this would nicely lead into an Agile approach to development, even perhaps Continuous Deployment :)
    I'm concerned that I can't find anything on the web about Apex and the CMP, so I suspect it can't be done :(
    Any comments gratefully recieved.
    Shunt

    You are going to have to provide a lot more information for anyone to help you from the basic ... like in what version ... to the specific ... what functionality do you want?
    In general none of the "packs" run any code not in the database in the form of built-in packages. For example much of the functionality of OEM Grid is implenented in DBMS_ADVISOR, DBMS_MONITOR, DBMS_SERVER_ALERT, etc.
    But without specific questions no specific answer is possible.
    You can find demos of the above referenced packages here:
    http://www.morganslibrary.org/library.html

  • Create PDF report with APEX and Oracle 11g doesn't work

    Hi everyone,
    I have a problem with the downloading of PDF reports from APEX with Oracle 11g.
    When I try to download a PDF, Acrobat Reader says it can not open the file.
    I have done the same test in an environment with APEX and Oracle 10g and it works perfectly.
    Does anyone know if there is a known bug for version 11g.
    Thank you very much.

    Hi Munky,
    I open the generated file the Notepad++ I can read the next message:
    *<HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1>OracleJSP:*
    An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param <code>debug_mode</code> to "true" to see the complete exception message.</BODY></HTML>
    I have not idea can I solve the problem.
    Have you got any solution for this problem??
    Thank you so much.
    Victor Muñoz.

  • How to automatically login to apex and run a specific page / application

    Hi all.
    I'd like to know if there is a way of automatically login to apex and run a specific page / application. I mean, invoke browser and pass the necessary information to login (not public user) and run a specific application( ina secure way if possible).
    Thanks in advance ...!

    Hi,
    Well, as a very crude test you can set your authentication scheme to be Application Express Authenticationand define some users in Apex. Then create a before header login process on the login page (101) to automatically logon containing:
    apex_authentication.login(
        p_username => :P101_USERNAME,
        p_password => :P101_PASSWORD );
    :P101_PASSWORD := NULL;conditional on P101_PASSWORD is not null.
    Then you can login by specifying your username and password in the URL e.g.
    f?p=YOURAPP:LOGIN:::::P101_USERNAME,P101_PASSWORD:username,password
    Rod West

  • What are variables or parameters in Apex and how to use them?

    Hi
    What are variables or parameters in apex and how to use them to connect and run BI Publisher Report
    From Apex URL

    Hello Kanaiya,
    You should go here: http://www.oracle.com/technology/products/database/application_express/index.html
    Look at "What is Oracle APEX?" then download the documentation and review the various PDF files that are available.
    If you have a version of APEX installed and available, go through the 2-Day Application Express Developer's Guide followed by the Advanced Developer's Guide.
    Good luck,
    Don.

  • APEX and Oracle XE

    I am trying to use the APEX (as a substitute for my PHP forms base application) for a new client.
    Can I use the APEX and Oracle XE in production, without spending any money for a license from Oracle - i.e. for listener, Web server, etc,?
    I already have setup the APEX that works fine on my laptop, able to see and work with the form on the browser, so can I take the same to a server as a production?
    Any help is appreciated,
    Merdad

    Mehrdad wrote:
    I am trying to use the APEX (as a substitute for my PHP forms base application) for a new client.
    Can I use the APEX and Oracle XE in production, without spending any money for a license from Oracle - i.e. for listener, Web server, etc,?
    I already have setup the APEX that works fine on my laptop, able to see and work with the form on the browser, so can I take the same to a server as a production?Yes. Oracle XE is free to use for internal use or use in your products subject to the license terms for Oracle Database Express Edition.
    APEX is a no-cost database option, so if you have a licensed database (including XE), you can use APEX to develop applications. (Note that if XE is upgraded to use the latest version of APEX, some of the built-in GUI database admin features described in the guides will be lost. All admin will then have to be performed using SQL*Plus or SQL Developer.)
    The licensing information covers the features included (and not included) in Oracle XE.
    There's a dedicated {forum:id=251} forum. This is the only channel for XE support as Oracle do not support the product through MOS (even for customers paying for support of other database editions).

  • Removing grey-and-white grid background?

    Hey ,
    I installed Acrobat 9 Pro, version 9.4.1, one week ago. Since then, in every opened pdf-document appers an grey-and-white-grid-background (see figure below).  Normally, I would expect a white background, which I get under this setting only, if I change the background manually to white. How can I change this setting, to get the normally white background as a default? Support is warmly welcome - training_needed

    Thank you very much - this makes reading much easier! - training-needed

  • Differences between Apex and Oracle Answers (being part of OBIEE)?

    Hi!
    A colleague and I just completed a very simple demonstration prototype in Oracle answers consisting of tables (using filters, columns selectors, etc.) to control asset price deviations in fund management. The prototype is based on a star schema with a couple of facts and about 15 dimensions. We made some dashboards using traffic lights as alerts for price tables and designed a couple of data entry forms. The client says that licence costs are not issue (he is a very large banking institute) since he has special licensing agreements with Oracle. However, he wants to know what the main differences between OBIEE's Answers and Apex are. He is about to install Apex and is not sure if he should also introduce OBIEE's Answers. Is there any official Oracle paper comparing Apex and OBIEE's Answers or does someone know the main differences between both products?
    Thanks a lot for your help!!
    Ilias

    Hi,
    Q2). I assume that is something that is not default on Apex when you install it.
    appshosting have e.g. [Apex builder plug in |http://builderplugin.oracleapex.info/] that is not supported by Oracle.
    But I just ques here
    Br,Jari

  • Differences between the alv's and alv grid dispaly

    hi guys
    .........please send the  differences between the alv's and alv grid display.
                    thanks....

    Hi Midathala,
    Plz go through the links might be useful to you.
    Simple ALV report
    http://www.sapgenie.com/abap/controls/alvgrid.htm
    http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
    ALV
    1. Please give me general info on ALV.
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    2. How do I program double click in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=11601
    http://www.sapfans.com/forums/viewtopic.php?t=23010
    Check the program in the following link:
    http://sap-img.com/abap/display-secondary-list-using-alv-grid.htm
    3. How do I add subtotals (I have problem to add them)...
    http://www.sapfans.com/forums/viewtopic.php?t=20386
    http://www.sapfans.com/forums/viewtopic.php?t=85191
    http://www.sapfans.com/forums/viewtopic.php?t=88401
    http://www.sapfans.com/forums/viewtopic.php?t=17335
    http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_basic.htm
    4. How to add list heading like top-of-page in ABAP lists?
    http://www.sapfans.com/forums/viewtopic.php?t=58775
    http://www.sapfans.com/forums/viewtopic.php?t=60550
    http://www.sapfans.com/forums/viewtopic.php?t=16629
    5. How to print page number / total number of pages X/XX in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
    6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
    http://www.sapfans.com/forums/viewtopic.php?t=64320
    http://www.sapfans.com/forums/viewtopic.php?t=44477
    7. How can I set the cell color in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=52107
    8. How do I print a logo/graphics in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=81149
    http://www.sapfans.com/forums/viewtopic.php?t=35498
    http://www.sapfans.com/forums/viewtopic.php?t=5013
    9. How do I create and use input-enabled fields in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=84933
    http://www.sapfans.com/forums/viewtopic.php?t=69878
    10. How can I use ALV for reports that are going to be run in background?
    http://www.sapfans.com/forums/viewtopic.php?t=83243
    http://www.sapfans.com/forums/viewtopic.php?t=19224
    11. How can I display an icon in ALV? (Common requirement is traffic light icon).
    http://www.sapfans.com/forums/viewtopic.php?t=79424
    http://www.sapfans.com/forums/viewtopic.php?t=24512
    12. How can I display a checkbox in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=88376
    http://www.sapfans.com/forums/viewtopic.php?t=40968
    http://www.sapfans.com/forums/viewtopic.php?t=6919
    13. Top-of-page in ALV
    selection-screen and top-of-page in ALV
    14. ALV Group Heading
    http://www.sap-img.com/fu037.htm
    How to add list heading like top-of-page in ABAP lists?
    http://www.sapfans.com/forums/viewtopic.php?t=58775
    http://www.sapfans.com/forums/viewtopic.php?t=60550
    http://www.sapfans.com/forums/viewtopic.php?t=16629
    15. ALV output to PDF conversion
    It has an example code for PDF Conversion.
    http://www.erpgenie.com/abap/code/abap51.htm
    converting the output of alv in pdf
    Thanks
    Mohinder Singh Chauhan

  • Apex and Natural Vs Surrogate keys

    Hi
    We've been using Apex for a few months now and there's a debate raging in our department over whether we should design our database tables using natural or surrogate (based on Oracle sequences / triggers) keys. Our experience as Apex developers shows that Apex itself looks to lean towards surrogate keys, a few examples are below:
    - When creating forms on reports / tables Apex only allows 2 primary key columns without adding 'extras' in the background (see a previous post of mine).
    - If we have a form on a table and our natural primary keys can be updated, the Apex-created DML statements break, as they look to do the update using the changed key values in the WHERE clause rather than the old ones. The only way around this seems to be to delete the inbuilt DML statements created by Apex and code your own, which is extra work.
    - The Apex sample applications themselves seem to use sequences / surrogate keys.
    What are people's opinions on this? In particular is there any guidance from the Apex development team on which is best to use with Apex?
    Regards
    Antilles

    Hi Andrew,
    As with abots_d, I only use "natural" keys for lookups.
    >
    1. the department names were here for 20 years and they never changed
    >
    But, can you guarantee that they never will? My firm has changed departmental names so many times, it's getting ridiculous! But other things also change over time - consider what happens if a person gets married and changes their name and you've used their previous names as the keys (and consider how much data in other tables may use those keys).
    >
    2. Server names are uniquely generated by special formula in excel to preciously avoid the duplication problem and guarantee the uniqueness within our glamorous bank.
    >
    SQL could probably recreate that formula and Unique Key constraints would handle the rest
    >
    3. no, we are not going to extend this app to cover any other banks
    >
    Given what's happening with the banking industry right now, who can say ;)
    >
    4. PK that means smth ( aka "server name" ) has a meaning, whereas meaningless - has no (business) value
    >
    Why does a bit of data have to have explicit "business value"? I would suggest that a surrogate key is a pointer to a record and allows you to easily create relationships. Once created, the key would never be changed regardless of what happens to the data on its record. Thus, the relationship is maintained. Using personnel (which our firm renamed as "Human Resources" a while back) as an example, it's likely that every employee would have an employee number. Does this number actually mean anything in itself, does it have "business value"? Most likely, it's just a convenient way to identify a person and relate records to them.
    I would suggest that any non-numeric/date keys are relatively slow. As strings, the only way to check for their sort order would be to (A) convert to upper or lower case and (B) perform a string comparison left-to-right across the entire string. There's also the possibility of certain characters appearing in the strings that can cause issues - for example, quotes, apostrophes, colons, commas, question marks and percentage signs.
    Also, consider the length of a VARCHAR2 that you would have to use - how big would it need to be to cover all possibilities? You may say 20 now but tomorrow you get data with 21 characters in it - do you want to update the table plus all related tables for that?
    There are further issues with parent, child, grand-child etc relationships where the keys would have to be passed down in full through the relationships. Depending on how many levels you may have, a fair number of the fields on the bottom-most table would be there just for the keys.
    It has been a standard industry practice for many years now to "normalise databases" to avoid lots of issues with keys and "repeating data". Apart from very simple lookup tables, I have stuck with those guidelines for years now without any problems at all.
    Andy

Maybe you are looking for

  • Smtp in Hangs for every fews days.

    I am running iPlanet Messaging Server 5.2 sp1 on solaris 2.8 with kernel patch level 23 . For every few days say for 3-4 days once smtp process stops hanging. When I do a telnet to port 25 , it just stop as "Escape character is '^]'." It is not displ

  • Changing prompt colour in oracle forms 6i to canvas background (solution)

    One of the really infuriating things about Oracle Forms 6i (and possibly other versions) is that when you set a visual attribute for a item the prompt, as well ad field, takes that background colour. Seing it is common to have the field background wh

  • Why does Firefox open new tabs when HOME is clicked?

    I just upgraded to version 29.0 from a 4 year old version and I'm experiencing a problem that I can't imagine how to correct. I have two home pages set in my config, so that when I open firefox I get two tabs displayed. My Home Page field reads "http

  • ORA-00932: inconsistent datatypes: expected NUMBER got LONG

    Hi, I am facing problem while issuing the command: ORA-00932: inconsistent datatypes: expected NUMBER got LONG SELECT TEXT FROM USER_VIEWS WHERE TEXT LIKE '%ASCII%' Any help will be needful for me Thanks and Regards

  • SQL combine AVG and RANK

    I have a query      VariableWastage               AS ( SELECT   ID ,                             SCRAPVAR ,                             COUNT(RECCODE) AS [COUNT] ,                             RANK() OVER ( PARTITION BY ID ORDER BY COUNT(RECCODE) DESC