How to process php file on tree child click event? -


i have created tree panel in viewport , placed toolbar menu items in north region of viewport.

this how works:

  1. i select file -> open, i.e. xml file
  2. now "somefile.xml" dynamically added tree

i want following on treechilenodeclick:

  1. once dblclick on somefile.xml, want able call php file xml file , returns results
  2. how can run php script?
  3. how can retrieve returned values of php script?

thanks tip/solution.

i found out sencha website how it. here people wandering.

ext.ajax.request({     url: "test.php?id=something",     method: "get",     success: function(response) {         ext.get("result").update(response.responsetext);     } }); 

if needs added, please feel free add.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -