Autoload items in a Panel issue

March 18th, 2010
  • Hello, also I've searched the forum I did not found any solution to the following problem:

    I have a panel and I want to load from PHP it's items which are some simple left-menu compoments like:

    {
    title: 'Ajutor',
    iconCls:'icon-help',
    height:200,
    collapsible: true,
    menu_items: [
    { iconCls:'icon-help', id:'view-all', text:'Help & Support' },
    '-',
    { id:'help-details', text:'Aici vor aparea detalii despre opţiunea selectă' }
    ]
    }

    As you can see there's nothing to compile or anything and I was wondering if there's any possibility to load them via AJAX in smth like:

    var Panel=new Ext.Panel(
    title:'Title',
    defaults:{xtype:'xactionpanel',frame:true},

    items: [
    // LOAD DATA FROM URL data.php?mode=draw&what=left-menu
    ]
    );


    Thank in advance,
    Frantz


  • Looks like a good job...I'll have to try it on later...
    Thanks for the tip ;)


  • Study this (http://extjs.com/forum/showthread.php?p=107427#post107427)one, same concept.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Autoload items in a Panel issue , Please add it free.