PDA

View Full Version : Extjs 4.1 tree store problem



mandardadpe
8 Aug 2012, 8:54 PM
I have 2 .js files and I need to use tree store of one file into other file...like:
miscSub.subtradeStore.setProxy({
type : 'ajax',
url : 'PostSubTrade.do',
method : 'POST',
extraParams : {
action : 'subTradeTree',
SubbieId : '0'
}
});miscSub.subtradeStore.load();

"subtradeStore" is defined in other filea and I want to use it different files. So, It gives error "dom of null" to last line:" miscSub.subtradeStore.load();"

scottmartin
14 Aug 2012, 10:59 AM
Duplicate post:
http://www.sencha.com/forum/showthread.php?235980

Scott.