Roo.util.Observable
Roo.UpdateManager 

		   

Class Roo.UpdateManager

Package:Roo
Defined In: Roo/UpdateManager.js.
Class:UpdateManager
Extends: Roo.util.Observable
Provides AJAX-style update for Element object.


Usage:


// Get it from a Roo.Element object
var el = Roo.get("foo");
var mgr = el.getUpdateManager();
mgr.update("http://myserver.com/index.php", "param1=1&param2=2");
...
mgr.formUpdate("myFormId", "http://myserver.com/index.php");


// or directly (returns the same UpdateManager instance)
var mgr = new Roo.UpdateManager("myElementId");
mgr.startAutoRefresh(60, "http://myserver.com/index.php");
mgr.on("update", myFcnNeedsToKnow);


// short handed call directly from the element object
Roo.get("foo").load({
url: "bar.php",
scripts:true,
params: "for=bar",
text: "Loading Foo..."
});
Class Comments / Notes => [Add Your comment/notes about this class]
Config Options (Usually are also Properties)
Options Defined By
Public Properties - Has None
Public Methods
Method Defined By
Events
Event Defined By
Documentation generated by Introspection Doc Generator on Fri Jul 13 2018 14:10:53 GMT+0800 (HKT) Based on JsDoc Toolkit