Login Register

close

Tab with grid closing problem

I have problem with closing tab with grid inside.
I create the tab in programatically way, then adding some grid. The problem started when I've put grid inside.

Code:

function destructId (pane,tab){
closedd = 1;
return true;
}

c = dijit.byId("myTabContener");
newTab = new dijit.layout.ContentPane({title: "Wyniki wyszukiwania", id: "newSearch",closable: true,onClose: destructId});

c.addChild(newTab);
c.selectChild(newTab);
var CategoryStore = new dojo.data.ItemFileWriteStore

Syndicate content