I have an ExtJS / PHP app that im working on and i keep running into the error
Uncaught TypeError: Cannot read property 'add' of undefined
The lines that im working with are as follows;
parentPanel = Ext.getCmp('<?php echo $thename; ?>_<?php echo $formDetails ?>');
parentPanel.add(theGridPanel);
parentPanel.doLayout();
Im not exactly whats going on.
Any help would be awesome
Ext.getCmphas one parameter - string, the id of the component. - Geoman Yabes