Jump to content

Cannot read property 'setAttribute' of null


Roberto Nicchi

Recommended Posts

I have a random exception working with TuniDbGrid (i think it's related to the grid). Can you understand something from the code below ?

UNIGUI Ver. 1.90.0.1551

thanks

 Cannot read property 'setAttribute' of null

O154.originalValue=undefined;_sfv_(O154,0,"0");O154.originalValue=undefined;_sfv_(O154,0,"5");O4FB.rdonly=false;O4FB.unEditable=false;_gsr_(OF3,23,1,true);delete O1C7_Cols;O1C7.refreshColumnCache=true;O1C7.discardColumns(); O543=new Ext.grid.column.Column({ogrid:O1C7,sortable:false,dataIndex:"0",renderer:_rndcll_,rdonly:true,text:"Rata",align:"right",ct:"number",width:35,attr:"{fts:'font-family:Segoe UI Light'}",editor:{xtype:"numberfield",decimalPrecision:0,hideTrigger:true,fieldStyle:"font-family:Segoe UI Light;color:#000000"},unEditable:true});O543.nm="O543";O543.editor.uform=O1C7.uform;O543.editor.focusDisabled=true;O543.editor.isCellEditor=true; O54B=new Ext.grid.column.Column({ogrid:O1C7,sortable:false,dataIndex:"1",renderer:_rndcll_,rdonly:false,text:"Tipo pagamento",width:188,attr:"{fts:'font-family:Segoe UI Light'}",editor:O2E6,uEditor:O2E6});O54B.nm="O54B";O2EA.removeAll(false);O2EA.add({id:"0",val:"RI.BA"});O2EA.add({id:"1",val:"RID"});O2EA.add({id:"2",val:"RIMESSA DIRETTA"});O2EA.add({id:"3",val:"BONIFICO"});O2EA.add({id:"4",val:"CAMBIALE"});O2EA.add({id:"5",val:"ASSEGNO"});O2EA.add({id:"6",val:"CONTANTI"});O2EA.add({id:"7",val:"CONTRASSEGNO"});O2EA.add({id:"8",val:"CARTA DI PAGAMENTO"});O2EA.add({id:"9",val:"MISTO"});O2E6.uniSendValue=true;O2E6.name="1";O54B.editor.focusDisabled=true;O54B.editor.isCellEditor=true; O553=new Ext.grid.column.Column({ogrid:O1C7,sortable:false,dataIndex:"2",renderer:_rndcll_,rdonly:false,text:"Giorni",align:"right",ct:"number",width:55,attr:"{fts:'font-family:Segoe UI Light'}",editor:{xtype:"numberfield",decimalPrecision:0,hideTrigger:true,fieldStyle:"font-family:Segoe UI Light;color:#000000"}});O553.nm="O553";O553.editor.uform=O1C7.uform;O553.editor.focusDisabled=true;O553.editor.isCellEditor=true; O55B=new Ext.grid.column.Column({checkColumn:true,ogrid:O1C7,sortable:false,dataIndex:"3",hidden:true,renderer:_rndcll_,rdonly:false,text:"Rata impon.",align:"center",ct:"boolean",width:85,attr:"{fts:'font-family:Segoe UI Light'}",unEditable:true});O55B.nm="O55B"; O563=new Ext.grid.column.Column({checkColumn:true,ogrid:O1C7,sortable:false,dataIndex:"4",hidden:true,renderer:_rndcll_,rdonly:false,text:"Rata Iva",align:"center",ct:"boolean",width:120,attr:"{fts:'font-family:Segoe UI Light'}",unEditable:true});O563.nm="O563"; O56B=new Ext.grid.column.Column({ogrid:O1C7,sortable:false,dataIndex:"5",renderer:_rndcll_,rdonly:false,text:"% Ripart. impon.",align:"right",cf:"#0.00",ct:"float",width:90,attr:"{fts:'font-family:Segoe UI Light'}",editor:{xtype:"numberfield",decimalPrecision:10,hideTrigger:true,fieldStyle:"font-family:Segoe UI Light;color:#000000"}});O56B.nm="O56B";O56B.editor.uform=O1C7.uform;O56B.editor.focusDisabled=true;O56B.editor.isCellEditor=true; O573=new Ext.grid.column.Column({ogrid:O1C7,sortable:false,dataIndex:"6",renderer:_rndcll_,rdonly:false,text:"% Ripart. Iva",align:"right",cf:"#0.00",ct:"float",width:120,attr:"{fts:'font-family:Segoe UI Light'}",editor:{xtype:"numberfield",decimalPrecision:10,hideTrigger:true,fieldStyle:"font-family:Segoe UI Light;color:#000000"}});O573.nm="O573";O573.editor.uform=O1C7.uform;O573.editor.focusDisabled=true;O573.editor.isCellEditor=true; O57B=new Ext.grid.column.Column({ogrid:O1C7,sortable:false,dataIndex:"7",renderer:_rndcll_,rdonly:false,text:"Tipo scadenza",width:108,attr:"{fts:'font-family:Segoe UI Light'}",editor:O31C,uEditor:O31C});O57B.nm="O57B";O320.removeAll(false);O320.add({id:"0",val:"Giorno esatto"});O320.add({id:"1",val:"Fine mese"});O320.add({id:"2",val:"Giorno fisso"});O31C.uniSendValue=true;O31C.name="7";O57B.editor.focusDisabled=true;O57B.editor.isCellEditor=true; O583=new Ext.grid.column.Column({ogrid:O1C7,sortable:false,dataIndex:"8",renderer:_rndcll_,rdonly:false,text:"Giorno fisso",align:"right",ct:"number",width:79,attr:"{fts:'font-family:Segoe UI Light'}",editor:{xtype:"numberfield",decimalPrecision:0,hideTrigger:true,fieldStyle:"font-family:Segoe UI Light;color:#000000"}});O583.nm="O583";O583.editor.uform=O1C7.uform;O583.editor.focusDisabled=true;O583.editor.isCellEditor=true; O58B=new Ext.grid.column.Column({ogrid:O1C7,sortable:false,dataIndex:"9",hidden:true,renderer:_rndcll_,rdonly:false,text:"RecId",align:"right",ct:"number",width:64,attr:"{fts:'font-family:Segoe UI Light'}",editor:{xtype:"numberfield",decimalPrecision:0,hideTrigger:true,fieldStyle:"font-family:Segoe UI Light;color:#000000"}});O58B.nm="O58B";O58B.editor.uform=O1C7.uform;O58B.editor.focusDisabled=true;O58B.editor.isCellEditor=true;var O1C7_Cols=[O543,O54B,O553,O55B,O563,O56B,O573,O57B,O583,O58B];O1C7.reconfigure(null,O1C7_Cols);O1C7.uniConfigColumns();O543.setElProp({"text-align":"left"},null,0,null,null,"titleEl");O553.setElProp({"text-align":"left"},null,0,null,null,"titleEl");O55B.setElProp({"text-align":"left"},null,0,null,null,"titleEl");O563.setElProp({"text-align":"left"},null,0,null,null,"titleEl");O56B.setElProp({"text-align":"left"},null,0,null,null,"titleEl");O573.setElProp({"text-align":"left"},null,0,null,null,"titleEl");O583.setElProp({"text-align":"left"},null,0,null,null,"titleEl");O58B.setElProp({"text-align":"left"},null,0,null,null,"titleEl");O1CB.load({params:{options:1}});O13C.originalValue=undefined;_sfv_(O13C,0,"RIMESSA DIRETTA 30 GG F.M.");O140.originalValue=undefined;_sfv_(O140,0,"034");O15C.originalValue=undefined;_sfv_(O15C,0,"MISTO");O167.originalValue=undefined;_sfv_(O167,0,"Fine mese");O17E.originalValue=undefined;_sfv_(O17E,0,"Mesi");O184.originalValue=undefined;_sfv_(O184,0,"In percentuale");O2E6.originalValue=undefined;_sfv_(O2E6,0,"");O31C.originalValue=undefined;_sfv_(O31C,0,"");

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...