1. #1
    Sencha User
    Join Date
    Apr 2010
    Location
    Bandung, West Java, Indonesia
    Posts
    15
    Vote Rating
    0
    novaku is on a distinguished road

      0  

    Default Ext.tree.Panel : how to set post parameter on click of root node?

    Ext.tree.Panel : how to set post parameter on click of root node?


    Hi all,

    Base question how to post parameter on click of the tree panel because i want post parameter on click of the (plus) icon is kode_jabatan not id​ (look at attached file). Here's my code :

    Code:
    var treeStore = Ext.create('Ext.data.TreeStore', {
            proxy: {
                type: 'ajax',
                url: 'func/mainFunction.php?get=menu',
                actionMethods: {
                    create: 'POST',
                    read: 'POST',
                    update: 'POST',
                    destroy: 'POST'
                }
            },
            nodeParam:'kode_jabatan',
            folderSort:true,
            defaultRootId:'kode_jabatan',
            root: {
                text: 'Struktur Organisasi',
                id: '(2010-01)',
                expanded: true
            }
        });
    Ext.create('Ext.tree.Panel', {
                            store: treeStore,
                            title: 'Menu Utama'
                        })
    Attached Images

  2. #2
    Sencha User
    Join Date
    Apr 2010
    Location
    Bandung, West Java, Indonesia
    Posts
    15
    Vote Rating
    0
    novaku is on a distinguished road

      0  

    Default


    Dear masters...
    please help me..

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar