12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <div class="body-wrap">
- <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 Ext.Updater.BasicRenderer</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="../src/UpdateManager.js" target="_blank">UpdateManager.js</a></td></tr>
- <tr><td class="label">Class:</td><td class="hd-info">Updater.BasicRenderer</td></tr>
- <tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr>
- </table>
- <div class="description">
- Default Content renderer. Updates the elements innerHTML with the responseText. </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">
- <tr>
- <th class="sig-header" colspan="2">Method</th>
- <th class="msource-header">Defined By</th>
- </tr>
- <tr class="method-row expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.Updater.BasicRenderer-render"></a>
- <b>render</b>( <code>Ext.Element el</code>, <code>Object response</code>, <code>Updater updateManager</code>, <code>Function callback</code> ) : void <div class="mdesc">
- <div class="short">This is called when the transaction is completed and it's time to update the element - The BasicRenderer
- updates the ...</div>
- <div class="long">
- This is called when the transaction is completed and it's time to update the element - The BasicRenderer
- updates the elements innerHTML with the responseText - To perform a custom render (i.e. XML or JSON processing),
- create an object with a "render(el, response)" method and pass it to setRenderer on the Updater. <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>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>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">Updater.BasicRenderer</td>
- </tr>
- </table>
- <a id="Ext.Updater.BasicRenderer-events"></a>
- <h2>Public Events</h2>
- <div class="no-members">This class has no public events.</div>
- </div>
|