Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Nov 2009
    Posts
    14
    Vote Rating
    0
    dcipher is on a distinguished road

      0  

    Default Why is the JSON data not loaded in the Tree Panel?

    Why is the JSON data not loaded in the Tree Panel?


    Hi

    The json requests are hitting my server and data is being returned but not displayed. Since I am a new user I would like to know what I have forgotten to do in my code.

    Thanks,
    Simon


    Code:
    		MyWindowUi = Ext.create(Ext.window.Window, {
    			title: 'KardPoll Menu - Bluewave(atefler)',
    			layout: 'accordion',
    			width: 400,
    			height: 250,
    			hidden: false,
    			maximizable: true,
    			minimizable: true,
    			items: [
    				{
    					xtype: 'treepanel',
    					title: 'Forms',
    					root: {
    						text: 'Forms'
    					},
    					tpl: '{text}',
    					loader: {
    						autoLoad: true,
    						url: 'http://localhost/kardtech/getMenu.dcKP',
    						renderer: 'data',
    						params: {menu: '00'}
    					}
    				}
    			]
    		});
    		MyWindowUi.show();
    Ths JSON data is as follows:

    Code:
    root: {expanded: true,children: [{ text: 'Master Menu', leaf: true },{ text: 'System Parameters', leaf: true },{ text: 'CardLock Control Centre', leaf: true }]}
    Last edited by dcipher; 5 Jul 2011 at 10:26 AM. Reason: Missing example JSON data