How do I create a docking window without having a div defined as a nested element. Here’s what I was working with:
function addNewDisplayFrame() {
var div = document.createElement(‘div’);
var h = document.createElement(‘div’);
h.innerHTML = “new Entry”;
div.appendChild(h);
var c = document.createElement(‘div’);
h.innerHTML = “new content”;
div.appendChild(c);
return div;
}
function createTaskContent() {
var d = $(addNewDisplayFrame()).jqxWindow();
d.id = ‘new’;
$(‘#dockable’).jqxDocking(‘addWindow’, d.id, ‘docked’, 0, 1);
}
I get a window outside of the docking component that will not dock..
Thank you,
Kurt