|
Title: Is there a way to change url of 'state' in combotree ? Post by: varonica on December 19, 2012, 02:26:16 AM Code: //html Code: //getdata.php Code: //getdata1.php Problem: All i want is when i expand one of them, they need to reload from other url(getdata1.php), not the current url(getdata.php).plz help me :( :( :( Title: Re: Is there a way to change url of 'state' in combotree ? Post by: stworthy on December 19, 2012, 02:55:57 AM Try the following code to change the url for combotree component:
Code: $('#tree').combotree('tree').tree('options').url = 'getdata1.php';Title: Re: Is there a way to change url of 'state' in combotree ? Post by: varonica on December 19, 2012, 06:46:25 PM thz for replying me. and here is the code :)
Code: onBeforeExpand: function(node){But: Is there a way to change the url({ when we expand the parent('Folder'), so the current url('getdata1.php') will be changed to getdata2.php. After we expand the child('Sub Folder 1'), we expect it to change the url('getdata3.php') and get child('File 11'); }) ?. Code: // just an example Sorry for my poor english, plz help me :( :( :( !!! |