1 <div class="body-wrap" xmlns:ext="http://www.extjs.com"><div class="top-tools"><a class="inner-link" href="#Ext.Updater.BasicRenderer-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> <a class="inner-link" href="#Ext.Updater.BasicRenderer-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a> <a class="inner-link" href="#Ext.Updater.BasicRenderer-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a> <a class="bookmark" href="../docs/?class=Ext.Updater.BasicRenderer"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a> </div><h1>Class <a href="source/UpdateManager.html#cls-Ext.Updater.BasicRenderer">Ext.Updater.BasicRenderer</a></h1><table cellspacing="0"><tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr><tr><td class="label">Defined In:</td><td class="hd-info"><a href="source/UpdateManager.html#cls-Ext.Updater.BasicRenderer">UpdateManager.js</a></td></tr><tr><td class="label">Class:</td><td class="hd-info"><a href="source/UpdateManager.html#cls-Ext.Updater.BasicRenderer">Updater.BasicRenderer</a></td></tr><tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr></table><div class="description"><p>This class is a base class implementing a simple render method which updates an element using results from an Ajax request.</p>
2 <p>The BasicRenderer updates the element's innerHTML with the responseText. To perform a custom render (i.e. XML or JSON processing),
3 create an object with a conforming <a href="output/Ext.Updater.BasicRenderer.html#Ext.Updater.BasicRenderer-render" ext:member="render" ext:cls="Ext.Updater.BasicRenderer">render</a> method and pass it to setRenderer on the Updater.</p></div><div class="hr"></div><a id="Ext.Updater.BasicRenderer-props"></a><h2>Public Properties</h2><div class="no-members">This class has no public properties.</div><a id="Ext.Updater.BasicRenderer-methods"></a><h2>Public Methods</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Method</th><th class="msource-header">Defined By</th></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Updater.BasicRenderer-render"></a><b><a href="source/UpdateManager.html#method-Ext.Updater.BasicRenderer-render">render</a></b>( <code>Ext.Element el</code>, <code>Object xhr</code>, <code>Updater updateManager</code>, <code>Function callback</code> )
5 void<div class="mdesc"><div class="short">This method is called when an Ajax response is received, and an Element needs updating.</div><div class="long">This method is called when an Ajax response is received, and an Element needs updating.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : Ext.Element<div class="sub-desc">The element being rendered</div></li><li><code>xhr</code> : Object<div class="sub-desc">The XMLHttpRequest object</div></li><li><code>updateManager</code> : Updater<div class="sub-desc">The calling update manager</div></li><li><code>callback</code> : Function<div class="sub-desc">A callback that will need to be called if loadScripts is true on the Updater</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">Updater.BasicRenderer</td></tr></tbody></table><a id="Ext.Updater.BasicRenderer-events"></a><h2>Public Events</h2><div class="no-members">This class has no public events.</div></div>