1 <div class="body-wrap">
2 <div class="top-tools">
3 <a class="inner-link" href="#Ext.Updater.BasicRenderer-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4 <a class="inner-link" href="#Ext.Updater.BasicRenderer-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5 <a class="inner-link" href="#Ext.Updater.BasicRenderer-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6 <a class="bookmark" href="../docs/?class=Ext.Updater.BasicRenderer"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
8 <h1>Class Ext.Updater.BasicRenderer</h1>
9 <table cellspacing="0">
10 <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
11 <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/UpdateManager.js" target="_blank">UpdateManager.js</a></td></tr>
12 <tr><td class="label">Class:</td><td class="hd-info">Updater.BasicRenderer</td></tr>
13 <tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr>
15 <div class="description">
16 Default Content renderer. Updates the elements innerHTML with the responseText. </div>
18 <div class="hr"></div>
19 <a id="Ext.Updater.BasicRenderer-props"></a>
20 <h2>Public Properties</h2>
21 <div class="no-members">This class has no public properties.</div> <a id="Ext.Updater.BasicRenderer-methods"></a>
22 <h2>Public Methods</h2>
23 <table cellspacing="0" class="member-table">
25 <th class="sig-header" colspan="2">Method</th>
26 <th class="msource-header">Defined By</th>
28 <tr class="method-row expandable">
\r
29 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
31 <a id="Ext.Updater.BasicRenderer-render"></a>
\r
32 <b>render</b>( <code>Ext.Element el</code>, <code>Object response</code>, <code>Updater updateManager</code>, <code>Function callback</code> ) : void <div class="mdesc">
\r
33 <div class="short">This is called when the transaction is completed and it's time to update the element - The BasicRenderer
34 updates the ...</div>
\r
36 This is called when the transaction is completed and it's time to update the element - The BasicRenderer
37 updates the elements innerHTML with the responseText - To perform a custom render (i.e. XML or JSON processing),
38 create an object with a "render(el, response)" method and pass it to setRenderer on the Updater. <div class="mdetail-params">
\r
39 <strong>Parameters:</strong>
\r
40 <ul><li><code>el</code> : Ext.Element<div class="sub-desc">The element being rendered</div></li><li><code>response</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>
\r
41 <strong>Returns:</strong>
\r
43 <li><code>void</code></li>
\r
49 <td class="msource">Updater.BasicRenderer</td>
\r
52 <a id="Ext.Updater.BasicRenderer-events"></a>
53 <h2>Public Events</h2>
54 <div class="no-members">This class has no public events.</div>