Hi, I have some code that i need to render to only a part of a page. I have a div in the html thats just a normal declaration such as
<div id="renderhere"></div>
my extjs code is here:
var resultsPanel = Ext.create('Ext.panel.Panel', {

width: 1048,
height: 755,
renderTo: Ext.Element.get('#renderhere'),
layout: {
type: 'table',
columns: 2,
padding: 5
items: [

where grid and grid2 are other grids that work. This code works if i try to render to the body of the page, but not to the div. Is there anything I'm doing wrong here, or how else can i get it to render to a div?