PDA

View Full Version : FormPanel not rendering



DesiTesh
8 Feb 2010, 2:53 PM
hi,

I'm using ExtJS 3.1 and newbie. Here is my code, it keep showing "ct is null" I tried different form of render to my formpanel but no luck.

Error is on this line: "dtlFormPanel.render(Ext.get('frmPanel'));"



Ext.BLANK_IMAGE_URL = '../extJS/resources/images/default/s.gif';
Ext.onReady(function(){
Ext.QuickTips.init();


});
thanks for your help.

conorarmstrong
8 Feb 2010, 3:07 PM
please format your code using code tags and repost

mitchellsimoens
8 Feb 2010, 3:39 PM
just gonna be straight up honest, there is a bunch of junk code here. Formatting is crap and things are commented out.... blah my eyes hurt now!

DesiTesh
8 Feb 2010, 3:48 PM
Okay to make it easy.


This is the code working Fine. Click on grid item it shows details in south area.


//default text msg to show on page load, when no grid item is clicked
var detailsPanel = {

// dtlFormPanel.render(Ext.getCmp('myTpl'));
//?? how to render this

conorarmstrong
8 Feb 2010, 3:50 PM
same q posted in another thread. answered there