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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."