Package: | Ext |
Defined In: | UpdateManager.js |
Class: | Updater.BasicRenderer |
Extends: | Object |
This class is a base class implementing a simple render method which updates an element using results from an Ajax request.
The BasicRenderer updates the element's innerHTML with the responseText. To perform a custom render (i.e. XML or JSON processing), create an object with a conforming render method and pass it to setRenderer on the Updater.
Method | Defined By | |
---|---|---|
render( Ext.Element el, Object xhr, Updater updateManager, Function callback ) : void This method is called when an Ajax response is received, and an Element needs updating. This method is called when an Ajax response is received, and an Element needs updating. Parameters:
| Updater.BasicRenderer |