2 |
aperonnet |
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>
|
|
|
7 |
</div>
|
|
|
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="../source/core/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>
|
|
|
14 |
</table>
|
|
|
15 |
<div class="description">
|
|
|
16 |
Default Content renderer. Updates the elements innerHTML with the responseText. </div>
|
|
|
17 |
|
|
|
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">
|
|
|
24 |
<tr>
|
|
|
25 |
<th class="sig-header" colspan="2">Method</th>
|
|
|
26 |
<th class="msource-header">Defined By</th>
|
|
|
27 |
</tr>
|
|
|
28 |
<tr class="method-row expandable">
|
|
|
29 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
30 |
<td class="sig">
|
|
|
31 |
<a id="Ext.Updater.BasicRenderer-render"></a>
|
|
|
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">
|
|
|
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>
|
|
|
35 |
<div class="long">
|
|
|
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">
|
|
|
39 |
<strong>Parameters:</strong>
|
|
|
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>
|
|
|
41 |
<strong>Returns:</strong>
|
|
|
42 |
<ul>
|
|
|
43 |
<li><code>void</code></li>
|
|
|
44 |
</ul>
|
|
|
45 |
</div>
|
|
|
46 |
</div>
|
|
|
47 |
</div>
|
|
|
48 |
</td>
|
|
|
49 |
<td class="msource">Updater.BasicRenderer</td>
|
|
|
50 |
</tr>
|
|
|
51 |
</table>
|
|
|
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>
|
|
|
55 |
</div>
|