2 |
aperonnet |
1 |
<div class="body-wrap">
|
|
|
2 |
<div class="top-tools">
|
|
|
3 |
<a class="inner-link" href="#Ext.grid.GridView-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
|
|
|
4 |
<a class="inner-link" href="#Ext.grid.GridView-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
|
|
|
5 |
<a class="inner-link" href="#Ext.grid.GridView-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
|
|
|
6 |
<a class="inner-link" href="#Ext.grid.GridView-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
|
|
|
7 |
<a class="bookmark" href="../docs/?class=Ext.grid.GridView"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
|
|
|
8 |
</div>
|
|
|
9 |
<div class="inheritance res-block">
|
|
|
10 |
<pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a>
|
|
|
11 |
<img src="resources/elbow-end.gif"/>GridView</pre></div>
|
|
|
12 |
<h1>Class Ext.grid.GridView</h1>
|
|
|
13 |
<table cellspacing="0">
|
|
|
14 |
<tr><td class="label">Package:</td><td class="hd-info">Ext.grid</td></tr>
|
|
|
15 |
<tr><td class="label">Defined In:</td><td class="hd-info"><a href="../source/widgets/grid/GridView.js" target="_blank">GridView.js</a></td></tr>
|
|
|
16 |
<tr><td class="label">Class:</td><td class="hd-info">GridView</td></tr>
|
|
|
17 |
<tr><td class="label">Subclasses:</td><td class="hd-info"><a ext:cls="Ext.grid.GroupingView" href="output/Ext.grid.GroupingView.html">GroupingView</a></td></tr>
|
|
|
18 |
<tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a></td></tr>
|
|
|
19 |
</table>
|
|
|
20 |
<div class="description">
|
|
|
21 |
<p>This class encapsulates the user interface of an <a ext:cls="Ext.grid.GridPanel" href="output/Ext.grid.GridPanel.html">Ext.grid.GridPanel</a>.
|
|
|
22 |
Methods of this class may be used to access user interface elements to enable
|
|
|
23 |
special display effects. Do not change the DOM structure of the user interface.</p>
|
|
|
24 |
<p>This class does not provide ways to manipulate the underlying data. The data
|
|
|
25 |
model of a Grid is held in an <a ext:cls="Ext.data.Store" href="output/Ext.data.Store.html">Ext.data.Store</a>.</p> </div>
|
|
|
26 |
|
|
|
27 |
<div class="hr"></div>
|
|
|
28 |
<a id="Ext.grid.GridView-configs"></a>
|
|
|
29 |
<h2>Config Options</h2>
|
|
|
30 |
<table cellspacing="0" class="member-table">
|
|
|
31 |
<tr>
|
|
|
32 |
<th class="sig-header" colspan="2">Config Options</th>
|
|
|
33 |
<th class="msource-header">Defined By</th>
|
|
|
34 |
</tr>
|
|
|
35 |
<tr class="config-row">
|
|
|
36 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
37 |
<td class="sig">
|
|
|
38 |
<a id="Ext.grid.GridView-autoFill"></a>
|
|
|
39 |
<b>autoFill</b> : Boolean <div class="mdesc">
|
|
|
40 |
True to auto expand the columns to fit the grid <b>when the grid is created</b>. </div>
|
|
|
41 |
</td>
|
|
|
42 |
<td class="msource">GridView</td>
|
|
|
43 |
</tr>
|
|
|
44 |
<tr class="config-row alt">
|
|
|
45 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
46 |
<td class="sig">
|
|
|
47 |
<a id="Ext.grid.GridView-emptyText"></a>
|
|
|
48 |
<b>emptyText</b> : String <div class="mdesc">
|
|
|
49 |
Default text to display in the grid body when no rows are available (defaults to ''). </div>
|
|
|
50 |
</td>
|
|
|
51 |
<td class="msource">GridView</td>
|
|
|
52 |
</tr>
|
|
|
53 |
<tr class="config-row expandable">
|
|
|
54 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
55 |
<td class="sig">
|
|
|
56 |
<a id="Ext.grid.GridView-enableRowBody"></a>
|
|
|
57 |
<b>enableRowBody</b> : Boolean <div class="mdesc">
|
|
|
58 |
<div class="short">True to add a second TR element per row that can be used to provide a row body that spans beneath the data row. Use t...</div>
|
|
|
59 |
<div class="long">
|
|
|
60 |
True to add a second TR element per row that can be used to provide a row body that spans beneath the data row. Use the <a ext:cls="Ext.grid.GridView" ext:member="getRowClass" href="output/Ext.grid.GridView.html#getRowClass">getRowClass</a> method's rowParams config to customize the row body. </div>
|
|
|
61 |
</div>
|
|
|
62 |
</td>
|
|
|
63 |
<td class="msource">GridView</td>
|
|
|
64 |
</tr>
|
|
|
65 |
<tr class="config-row alt">
|
|
|
66 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
67 |
<td class="sig">
|
|
|
68 |
<a id="Ext.grid.GridView-forceFit"></a>
|
|
|
69 |
<b>forceFit</b> : Boolean <div class="mdesc">
|
|
|
70 |
True to auto expand/contract the size of the columns to fit the grid width and prevent horizontal scrolling. </div>
|
|
|
71 |
</td>
|
|
|
72 |
<td class="msource">GridView</td>
|
|
|
73 |
</tr>
|
|
|
74 |
<tr class="config-row inherited expandable">
|
|
|
75 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
76 |
<td class="sig">
|
|
|
77 |
<a id="Ext.grid.GridView-listeners"></a>
|
|
|
78 |
<b>listeners</b> : Object <div class="mdesc">
|
|
|
79 |
<div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
|
|
|
80 |
<div class="long">
|
|
|
81 |
A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once. </div>
|
|
|
82 |
</div>
|
|
|
83 |
</td>
|
|
|
84 |
<td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
|
|
|
85 |
</tr>
|
|
|
86 |
</table>
|
|
|
87 |
<a id="Ext.grid.GridView-props"></a>
|
|
|
88 |
<h2>Public Properties</h2>
|
|
|
89 |
<table cellspacing="0" class="member-table">
|
|
|
90 |
<tr>
|
|
|
91 |
<th class="sig-header" colspan="2">Property</th>
|
|
|
92 |
<th class="msource-header">Defined By</th>
|
|
|
93 |
</tr>
|
|
|
94 |
<tr class="property-row">
|
|
|
95 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
96 |
<td class="sig">
|
|
|
97 |
<a id="Ext.grid.GridView-columnsText"></a>
|
|
|
98 |
<b>columnsText</b> : String <div class="mdesc">
|
|
|
99 |
The text displayed in the "Columns" menu item </div>
|
|
|
100 |
</td>
|
|
|
101 |
<td class="msource">GridView</td>
|
|
|
102 |
</tr>
|
|
|
103 |
<tr class="property-row alt">
|
|
|
104 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
105 |
<td class="sig">
|
|
|
106 |
<a id="Ext.grid.GridView-scrollOffset"></a>
|
|
|
107 |
<b>scrollOffset</b> : Number <div class="mdesc">
|
|
|
108 |
|
|
|
109 |
The amount of space to reserve for the scrollbar (defaults to 19 pixels) </div>
|
|
|
110 |
</td>
|
|
|
111 |
<td class="msource">GridView</td>
|
|
|
112 |
</tr>
|
|
|
113 |
<tr class="property-row">
|
|
|
114 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
115 |
<td class="sig">
|
|
|
116 |
<a id="Ext.grid.GridView-sortAscText"></a>
|
|
|
117 |
<b>sortAscText</b> : String <div class="mdesc">
|
|
|
118 |
The text displayed in the "Sort Ascending" menu item </div>
|
|
|
119 |
</td>
|
|
|
120 |
<td class="msource">GridView</td>
|
|
|
121 |
</tr>
|
|
|
122 |
<tr class="property-row alt">
|
|
|
123 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
124 |
<td class="sig">
|
|
|
125 |
<a id="Ext.grid.GridView-sortClasses"></a>
|
|
|
126 |
<b>sortClasses</b> : Array <div class="mdesc">
|
|
|
127 |
The CSS classes applied to a header when it is sorted. (defaults to ["sort-asc", "sort-desc"]) </div>
|
|
|
128 |
</td>
|
|
|
129 |
<td class="msource">GridView</td>
|
|
|
130 |
</tr>
|
|
|
131 |
<tr class="property-row">
|
|
|
132 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
133 |
<td class="sig">
|
|
|
134 |
<a id="Ext.grid.GridView-sortDescText"></a>
|
|
|
135 |
<b>sortDescText</b> : String <div class="mdesc">
|
|
|
136 |
The text displayed in the "Sort Descending" menu item </div>
|
|
|
137 |
</td>
|
|
|
138 |
<td class="msource">GridView</td>
|
|
|
139 |
</tr>
|
|
|
140 |
</table>
|
|
|
141 |
<a id="Ext.grid.GridView-methods"></a>
|
|
|
142 |
<h2>Public Methods</h2>
|
|
|
143 |
<table cellspacing="0" class="member-table">
|
|
|
144 |
<tr>
|
|
|
145 |
<th class="sig-header" colspan="2">Method</th>
|
|
|
146 |
<th class="msource-header">Defined By</th>
|
|
|
147 |
</tr>
|
|
|
148 |
<tr class="method-row expandable">
|
|
|
149 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
150 |
<td class="sig">
|
|
|
151 |
<a id="Ext.grid.GridView-GridView"></a>
|
|
|
152 |
<b>GridView</b>( <code>Object config</code> ) <div class="mdesc">
|
|
|
153 |
<div class="short"></div>
|
|
|
154 |
<div class="long">
|
|
|
155 |
<div class="mdetail-params">
|
|
|
156 |
<strong>Parameters:</strong>
|
|
|
157 |
<ul><li><code>config</code> : Object<div class="sub-desc"></div></li> </ul>
|
|
|
158 |
<strong>Returns:</strong>
|
|
|
159 |
<ul>
|
|
|
160 |
<li><code></code></li>
|
|
|
161 |
</ul>
|
|
|
162 |
</div>
|
|
|
163 |
</div>
|
|
|
164 |
</div>
|
|
|
165 |
</td>
|
|
|
166 |
<td class="msource">GridView</td>
|
|
|
167 |
</tr>
|
|
|
168 |
<tr class="method-row inherited alt expandable">
|
|
|
169 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
170 |
<td class="sig">
|
|
|
171 |
<a id="Ext.grid.GridView-addEvents"></a>
|
|
|
172 |
<b>addEvents</b>( <code>Object object</code> ) : void <div class="mdesc">
|
|
|
173 |
<div class="short">Used to define events on this Observable</div>
|
|
|
174 |
<div class="long">
|
|
|
175 |
Used to define events on this Observable <div class="mdetail-params">
|
|
|
176 |
<strong>Parameters:</strong>
|
|
|
177 |
<ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li> </ul>
|
|
|
178 |
<strong>Returns:</strong>
|
|
|
179 |
<ul>
|
|
|
180 |
<li><code>void</code></li>
|
|
|
181 |
</ul>
|
|
|
182 |
</div>
|
|
|
183 |
</div>
|
|
|
184 |
</div>
|
|
|
185 |
</td>
|
|
|
186 |
<td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
|
|
|
187 |
</tr>
|
|
|
188 |
<tr class="method-row inherited expandable">
|
|
|
189 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
190 |
<td class="sig">
|
|
|
191 |
<a id="Ext.grid.GridView-addListener"></a>
|
|
|
192 |
<b>addListener</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span> ) : void <div class="mdesc">
|
|
|
193 |
<div class="short">Appends an event handler to this component</div>
|
|
|
194 |
<div class="long">
|
|
|
195 |
Appends an event handler to this component <div class="mdetail-params">
|
|
|
196 |
<strong>Parameters:</strong>
|
|
|
197 |
<ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
|
|
|
198 |
function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
|
|
|
199 |
properties. This may contain any of the following properties:<ul>
|
|
|
200 |
<li><b>scope</b> : Object<p class="sub-desc">The scope in which to execute the handler function. The handler function's "this" context.</p></li>
|
|
|
201 |
<li><b>delay</b> : Number<p class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>
|
|
|
202 |
<li><b>single</b> : Boolean<p class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>
|
|
|
203 |
<li><b>buffer</b> : Number<p class="sub-desc">Causes the handler to be scheduled to run in an <a ext:cls="Ext.util.DelayedTask" href="output/Ext.util.DelayedTask.html">Ext.util.DelayedTask</a> delayed
|
|
|
204 |
by the specified number of milliseconds. If the event fires again within that time, the original
|
|
|
205 |
handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
|
|
|
206 |
</ul><br>
|
|
|
207 |
<p>
|
|
|
208 |
<b>Combining Options</b><br>
|
|
|
209 |
Using the options argument, it is possible to combine different types of listeners:<br>
|
|
|
210 |
<br>
|
|
|
211 |
A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
|
|
|
212 |
<pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
|
|
|
213 |
single: true,
|
|
|
214 |
delay: 100,
|
|
|
215 |
forumId: 4
|
|
|
216 |
});</code></pre>
|
|
|
217 |
<p>
|
|
|
218 |
<b>Attaching multiple handlers in 1 call</b><br>
|
|
|
219 |
The method also allows for a single argument to be passed which is a config object containing properties
|
|
|
220 |
which specify multiple handlers.
|
|
|
221 |
<p>
|
|
|
222 |
<pre><code>foo.on({
|
|
|
223 |
<em>'click'</em> : {
|
|
|
224 |
fn: <b>this</b>.onClick,
|
|
|
225 |
scope: <b>this</b>,
|
|
|
226 |
delay: 100
|
|
|
227 |
},
|
|
|
228 |
<em>'mouseover'</em> : {
|
|
|
229 |
fn: <b>this</b>.onMouseOver,
|
|
|
230 |
scope: <b>this</b>
|
|
|
231 |
},
|
|
|
232 |
<em>'mouseout'</em> : {
|
|
|
233 |
fn: <b>this</b>.onMouseOut,
|
|
|
234 |
scope: <b>this</b>
|
|
|
235 |
}
|
|
|
236 |
});</code></pre>
|
|
|
237 |
<p>
|
|
|
238 |
Or a shorthand syntax:<br>
|
|
|
239 |
<pre><code>foo.on({
|
|
|
240 |
<em>'click'</em> : <b>this</b>.onClick,
|
|
|
241 |
<em>'mouseover'</em> : <b>this</b>.onMouseOver,
|
|
|
242 |
<em>'mouseout'</em> : <b>this</b>.onMouseOut,
|
|
|
243 |
scope: <b>this</b>
|
|
|
244 |
});</code></pre></div></li> </ul>
|
|
|
245 |
<strong>Returns:</strong>
|
|
|
246 |
<ul>
|
|
|
247 |
<li><code>void</code></li>
|
|
|
248 |
</ul>
|
|
|
249 |
</div>
|
|
|
250 |
</div>
|
|
|
251 |
</div>
|
|
|
252 |
</td>
|
|
|
253 |
<td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
|
|
|
254 |
</tr>
|
|
|
255 |
<tr class="method-row inherited alt expandable">
|
|
|
256 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
257 |
<td class="sig">
|
|
|
258 |
<a id="Ext.grid.GridView-fireEvent"></a>
|
|
|
259 |
<b>fireEvent</b>( <code>String eventName</code>, <code>Object... args</code> ) : Boolean <div class="mdesc">
|
|
|
260 |
<div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
|
|
|
261 |
<div class="long">
|
|
|
262 |
Fires the specified event with the passed parameters (minus the event name). <div class="mdetail-params">
|
|
|
263 |
<strong>Parameters:</strong>
|
|
|
264 |
<ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers</div></li> </ul>
|
|
|
265 |
<strong>Returns:</strong>
|
|
|
266 |
<ul>
|
|
|
267 |
<li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
|
|
|
268 |
</ul>
|
|
|
269 |
</div>
|
|
|
270 |
</div>
|
|
|
271 |
</div>
|
|
|
272 |
</td>
|
|
|
273 |
<td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
|
|
|
274 |
</tr>
|
|
|
275 |
<tr class="method-row expandable">
|
|
|
276 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
277 |
<td class="sig">
|
|
|
278 |
<a id="Ext.grid.GridView-focusCell"></a>
|
|
|
279 |
<b>focusCell</b>( <code>Number row</code>, <code>Number col</code> ) : void <div class="mdesc">
|
|
|
280 |
<div class="short">Focuses the specified cell.</div>
|
|
|
281 |
<div class="long">
|
|
|
282 |
Focuses the specified cell. <div class="mdetail-params">
|
|
|
283 |
<strong>Parameters:</strong>
|
|
|
284 |
<ul><li><code>row</code> : Number<div class="sub-desc">The row index</div></li><li><code>col</code> : Number<div class="sub-desc">The column index</div></li> </ul>
|
|
|
285 |
<strong>Returns:</strong>
|
|
|
286 |
<ul>
|
|
|
287 |
<li><code>void</code></li>
|
|
|
288 |
</ul>
|
|
|
289 |
</div>
|
|
|
290 |
</div>
|
|
|
291 |
</div>
|
|
|
292 |
</td>
|
|
|
293 |
<td class="msource">GridView</td>
|
|
|
294 |
</tr>
|
|
|
295 |
<tr class="method-row alt expandable">
|
|
|
296 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
297 |
<td class="sig">
|
|
|
298 |
<a id="Ext.grid.GridView-focusRow"></a>
|
|
|
299 |
<b>focusRow</b>( <code>Number row</code> ) : void <div class="mdesc">
|
|
|
300 |
<div class="short">Focuses the specified row.</div>
|
|
|
301 |
<div class="long">
|
|
|
302 |
Focuses the specified row. <div class="mdetail-params">
|
|
|
303 |
<strong>Parameters:</strong>
|
|
|
304 |
<ul><li><code>row</code> : Number<div class="sub-desc">The row index</div></li> </ul>
|
|
|
305 |
<strong>Returns:</strong>
|
|
|
306 |
<ul>
|
|
|
307 |
<li><code>void</code></li>
|
|
|
308 |
</ul>
|
|
|
309 |
</div>
|
|
|
310 |
</div>
|
|
|
311 |
</div>
|
|
|
312 |
</td>
|
|
|
313 |
<td class="msource">GridView</td>
|
|
|
314 |
</tr>
|
|
|
315 |
<tr class="method-row expandable">
|
|
|
316 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
317 |
<td class="sig">
|
|
|
318 |
<a id="Ext.grid.GridView-getCell"></a>
|
|
|
319 |
<b>getCell</b>( <code>Number row</code>, <code>Number col</code> ) : HtmlElement <div class="mdesc">
|
|
|
320 |
<div class="short">Returns the grid's <TD> HtmlElement at the specified coordinates.</div>
|
|
|
321 |
<div class="long">
|
|
|
322 |
Returns the grid's <TD> HtmlElement at the specified coordinates. <div class="mdetail-params">
|
|
|
323 |
<strong>Parameters:</strong>
|
|
|
324 |
<ul><li><code>row</code> : Number<div class="sub-desc">The row index in which to find the cell.</div></li><li><code>col</code> : Number<div class="sub-desc">The column index of the cell.</div></li> </ul>
|
|
|
325 |
<strong>Returns:</strong>
|
|
|
326 |
<ul>
|
|
|
327 |
<li><code>HtmlElement</code><div class="sub-desc">The <TD> at the specified coordinates.</div></li>
|
|
|
328 |
</ul>
|
|
|
329 |
</div>
|
|
|
330 |
</div>
|
|
|
331 |
</div>
|
|
|
332 |
</td>
|
|
|
333 |
<td class="msource">GridView</td>
|
|
|
334 |
</tr>
|
|
|
335 |
<tr class="method-row alt expandable">
|
|
|
336 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
337 |
<td class="sig">
|
|
|
338 |
<a id="Ext.grid.GridView-getHeaderCell"></a>
|
|
|
339 |
<b>getHeaderCell</b>( <code>Number index</code> ) : HtmlElement <div class="mdesc">
|
|
|
340 |
<div class="short">Return the <TD> HtmlElement which represents the Grid's header cell for the specified column index.</div>
|
|
|
341 |
<div class="long">
|
|
|
342 |
Return the <TD> HtmlElement which represents the Grid's header cell for the specified column index. <div class="mdetail-params">
|
|
|
343 |
<strong>Parameters:</strong>
|
|
|
344 |
<ul><li><code>index</code> : Number<div class="sub-desc">The column index</div></li> </ul>
|
|
|
345 |
<strong>Returns:</strong>
|
|
|
346 |
<ul>
|
|
|
347 |
<li><code>HtmlElement</code><div class="sub-desc">The <TD> element.</div></li>
|
|
|
348 |
</ul>
|
|
|
349 |
</div>
|
|
|
350 |
</div>
|
|
|
351 |
</div>
|
|
|
352 |
</td>
|
|
|
353 |
<td class="msource">GridView</td>
|
|
|
354 |
</tr>
|
|
|
355 |
<tr class="method-row expandable">
|
|
|
356 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
357 |
<td class="sig">
|
|
|
358 |
<a id="Ext.grid.GridView-getRow"></a>
|
|
|
359 |
<b>getRow</b>( <code>Number index</code> ) : HtmlElement <div class="mdesc">
|
|
|
360 |
<div class="short">Return the <TR> HtmlElement which represents a Grid row for the specified index.</div>
|
|
|
361 |
<div class="long">
|
|
|
362 |
Return the <TR> HtmlElement which represents a Grid row for the specified index. <div class="mdetail-params">
|
|
|
363 |
<strong>Parameters:</strong>
|
|
|
364 |
<ul><li><code>index</code> : Number<div class="sub-desc">The row index</div></li> </ul>
|
|
|
365 |
<strong>Returns:</strong>
|
|
|
366 |
<ul>
|
|
|
367 |
<li><code>HtmlElement</code><div class="sub-desc">The <TR> element.</div></li>
|
|
|
368 |
</ul>
|
|
|
369 |
</div>
|
|
|
370 |
</div>
|
|
|
371 |
</div>
|
|
|
372 |
</td>
|
|
|
373 |
<td class="msource">GridView</td>
|
|
|
374 |
</tr>
|
|
|
375 |
<tr class="method-row alt expandable">
|
|
|
376 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
377 |
<td class="sig">
|
|
|
378 |
<a id="Ext.grid.GridView-getRowClass"></a>
|
|
|
379 |
<b>getRowClass</b>( <code>Record record</code>, <code>Number index</code>, <code>Object rowParams</code>, <code>Store store</code> ) : String <div class="mdesc">
|
|
|
380 |
<div class="short">Override this function to apply custom CSS classes to rows during rendering. You can also supply custom
|
|
|
381 |
parameters t...</div>
|
|
|
382 |
<div class="long">
|
|
|
383 |
Override this function to apply custom CSS classes to rows during rendering. You can also supply custom
|
|
|
384 |
parameters to the row template for the current row to customize how it is rendered using the <b>rowParams</b>
|
|
|
385 |
parameter. This function should return the CSS class name (or empty string '' for none) that will be added
|
|
|
386 |
to the row's wrapping div. To apply multiple class names, simply return them space-delimited within the string
|
|
|
387 |
(e.g., 'my-class another-class'). <div class="mdetail-params">
|
|
|
388 |
<strong>Parameters:</strong>
|
|
|
389 |
<ul><li><code>record</code> : Record<div class="sub-desc">The <a ext:cls="Ext.data.Record" href="output/Ext.data.Record.html">Ext.data.Record</a> corresponding to the current row</div></li><li><code>index</code> : Number<div class="sub-desc">The row index</div></li><li><code>rowParams</code> : Object<div class="sub-desc">A config object that is passed to the row template during rendering that allows
|
|
|
390 |
customization of various aspects of a body row, if applicable. Note that this object will only be applied if
|
|
|
391 |
<a ext:cls="Ext.grid.GridView" ext:member="enableRowBody" href="output/Ext.grid.GridView.html#enableRowBody">enableRowBody</a> = true, otherwise it will be ignored. The object may contain any of these properties:<ul>
|
|
|
392 |
<li><code>body</code> : String <div class="sub-desc">An HTML fragment to be rendered as the cell's body content (defaults to '').</div></li>
|
|
|
393 |
<li><code>bodyStyle</code> : String <div class="sub-desc">A CSS style string that will be applied to the row's TR style attribute (defaults to '').</div></li>
|
|
|
394 |
<li><code>cols</code> : Number <div class="sub-desc">The column count to apply to the body row's TD colspan attribute (defaults to the current
|
|
|
395 |
column count of the grid).</div></li>
|
|
|
396 |
</ul></div></li><li><code>store</code> : Store<div class="sub-desc">The <a ext:cls="Ext.data.Store" href="output/Ext.data.Store.html">Ext.data.Store</a> this grid is bound to</div></li> </ul>
|
|
|
397 |
<strong>Returns:</strong>
|
|
|
398 |
<ul>
|
|
|
399 |
<li><code>String</code><div class="sub-desc">a CSS class name to add to the row.</div></li>
|
|
|
400 |
</ul>
|
|
|
401 |
</div>
|
|
|
402 |
</div>
|
|
|
403 |
</div>
|
|
|
404 |
</td>
|
|
|
405 |
<td class="msource">GridView</td>
|
|
|
406 |
</tr>
|
|
|
407 |
<tr class="method-row inherited expandable">
|
|
|
408 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
409 |
<td class="sig">
|
|
|
410 |
<a id="Ext.grid.GridView-hasListener"></a>
|
|
|
411 |
<b>hasListener</b>( <code>String eventName</code> ) : Boolean <div class="mdesc">
|
|
|
412 |
<div class="short">Checks to see if this object has any listeners for a specified event</div>
|
|
|
413 |
<div class="long">
|
|
|
414 |
Checks to see if this object has any listeners for a specified event <div class="mdetail-params">
|
|
|
415 |
<strong>Parameters:</strong>
|
|
|
416 |
<ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li> </ul>
|
|
|
417 |
<strong>Returns:</strong>
|
|
|
418 |
<ul>
|
|
|
419 |
<li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
|
|
|
420 |
</ul>
|
|
|
421 |
</div>
|
|
|
422 |
</div>
|
|
|
423 |
</div>
|
|
|
424 |
</td>
|
|
|
425 |
<td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
|
|
|
426 |
</tr>
|
|
|
427 |
<tr class="method-row inherited alt expandable">
|
|
|
428 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
429 |
<td class="sig">
|
|
|
430 |
<a id="Ext.grid.GridView-on"></a>
|
|
|
431 |
<b>on</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span> ) : void <div class="mdesc">
|
|
|
432 |
<div class="short">Appends an event handler to this element (shorthand for addListener)</div>
|
|
|
433 |
<div class="long">
|
|
|
434 |
Appends an event handler to this element (shorthand for addListener) <div class="mdetail-params">
|
|
|
435 |
<strong>Parameters:</strong>
|
|
|
436 |
<ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
|
|
|
437 |
function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li> </ul>
|
|
|
438 |
<strong>Returns:</strong>
|
|
|
439 |
<ul>
|
|
|
440 |
<li><code>void</code></li>
|
|
|
441 |
</ul>
|
|
|
442 |
</div>
|
|
|
443 |
</div>
|
|
|
444 |
</div>
|
|
|
445 |
</td>
|
|
|
446 |
<td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
|
|
|
447 |
</tr>
|
|
|
448 |
<tr class="method-row inherited expandable">
|
|
|
449 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
450 |
<td class="sig">
|
|
|
451 |
<a id="Ext.grid.GridView-purgeListeners"></a>
|
|
|
452 |
<b>purgeListeners</b>() : void <div class="mdesc">
|
|
|
453 |
<div class="short">Removes all listeners for this object</div>
|
|
|
454 |
<div class="long">
|
|
|
455 |
Removes all listeners for this object <div class="mdetail-params">
|
|
|
456 |
<strong>Parameters:</strong>
|
|
|
457 |
<ul><li>None.</li> </ul>
|
|
|
458 |
<strong>Returns:</strong>
|
|
|
459 |
<ul>
|
|
|
460 |
<li><code>void</code></li>
|
|
|
461 |
</ul>
|
|
|
462 |
</div>
|
|
|
463 |
</div>
|
|
|
464 |
</div>
|
|
|
465 |
</td>
|
|
|
466 |
<td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
|
|
|
467 |
</tr>
|
|
|
468 |
<tr class="method-row alt expandable">
|
|
|
469 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
470 |
<td class="sig">
|
|
|
471 |
<a id="Ext.grid.GridView-refresh"></a>
|
|
|
472 |
<b>refresh</b>( <span class="optional" title="Optional">[<code>Boolean headersToo</code>]</span> ) : void <div class="mdesc">
|
|
|
473 |
<div class="short">Refreshs the grid UI</div>
|
|
|
474 |
<div class="long">
|
|
|
475 |
Refreshs the grid UI <div class="mdetail-params">
|
|
|
476 |
<strong>Parameters:</strong>
|
|
|
477 |
<ul><li><code>headersToo</code> : Boolean<div class="sub-desc">(optional) True to also refresh the headers</div></li> </ul>
|
|
|
478 |
<strong>Returns:</strong>
|
|
|
479 |
<ul>
|
|
|
480 |
<li><code>void</code></li>
|
|
|
481 |
</ul>
|
|
|
482 |
</div>
|
|
|
483 |
</div>
|
|
|
484 |
</div>
|
|
|
485 |
</td>
|
|
|
486 |
<td class="msource">GridView</td>
|
|
|
487 |
</tr>
|
|
|
488 |
<tr class="method-row inherited expandable">
|
|
|
489 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
490 |
<td class="sig">
|
|
|
491 |
<a id="Ext.grid.GridView-removeListener"></a>
|
|
|
492 |
<b>removeListener</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc">
|
|
|
493 |
<div class="short">Removes a listener</div>
|
|
|
494 |
<div class="long">
|
|
|
495 |
Removes a listener <div class="mdetail-params">
|
|
|
496 |
<strong>Parameters:</strong>
|
|
|
497 |
<ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li> </ul>
|
|
|
498 |
<strong>Returns:</strong>
|
|
|
499 |
<ul>
|
|
|
500 |
<li><code>void</code></li>
|
|
|
501 |
</ul>
|
|
|
502 |
</div>
|
|
|
503 |
</div>
|
|
|
504 |
</div>
|
|
|
505 |
</td>
|
|
|
506 |
<td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
|
|
|
507 |
</tr>
|
|
|
508 |
<tr class="method-row inherited alt expandable">
|
|
|
509 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
510 |
<td class="sig">
|
|
|
511 |
<a id="Ext.grid.GridView-resumeEvents"></a>
|
|
|
512 |
<b>resumeEvents</b>() : void <div class="mdesc">
|
|
|
513 |
<div class="short">Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)</div>
|
|
|
514 |
<div class="long">
|
|
|
515 |
Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>) <div class="mdetail-params">
|
|
|
516 |
<strong>Parameters:</strong>
|
|
|
517 |
<ul><li>None.</li> </ul>
|
|
|
518 |
<strong>Returns:</strong>
|
|
|
519 |
<ul>
|
|
|
520 |
<li><code>void</code></li>
|
|
|
521 |
</ul>
|
|
|
522 |
</div>
|
|
|
523 |
</div>
|
|
|
524 |
</div>
|
|
|
525 |
</td>
|
|
|
526 |
<td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
|
|
|
527 |
</tr>
|
|
|
528 |
<tr class="method-row expandable">
|
|
|
529 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
530 |
<td class="sig">
|
|
|
531 |
<a id="Ext.grid.GridView-scrollToTop"></a>
|
|
|
532 |
<b>scrollToTop</b>() : void <div class="mdesc">
|
|
|
533 |
<div class="short">Scrolls the grid to the top</div>
|
|
|
534 |
<div class="long">
|
|
|
535 |
Scrolls the grid to the top <div class="mdetail-params">
|
|
|
536 |
<strong>Parameters:</strong>
|
|
|
537 |
<ul><li>None.</li> </ul>
|
|
|
538 |
<strong>Returns:</strong>
|
|
|
539 |
<ul>
|
|
|
540 |
<li><code>void</code></li>
|
|
|
541 |
</ul>
|
|
|
542 |
</div>
|
|
|
543 |
</div>
|
|
|
544 |
</div>
|
|
|
545 |
</td>
|
|
|
546 |
<td class="msource">GridView</td>
|
|
|
547 |
</tr>
|
|
|
548 |
<tr class="method-row inherited alt expandable">
|
|
|
549 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
550 |
<td class="sig">
|
|
|
551 |
<a id="Ext.grid.GridView-suspendEvents"></a>
|
|
|
552 |
<b>suspendEvents</b>() : void <div class="mdesc">
|
|
|
553 |
<div class="short">Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)</div>
|
|
|
554 |
<div class="long">
|
|
|
555 |
Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>) <div class="mdetail-params">
|
|
|
556 |
<strong>Parameters:</strong>
|
|
|
557 |
<ul><li>None.</li> </ul>
|
|
|
558 |
<strong>Returns:</strong>
|
|
|
559 |
<ul>
|
|
|
560 |
<li><code>void</code></li>
|
|
|
561 |
</ul>
|
|
|
562 |
</div>
|
|
|
563 |
</div>
|
|
|
564 |
</div>
|
|
|
565 |
</td>
|
|
|
566 |
<td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
|
|
|
567 |
</tr>
|
|
|
568 |
<tr class="method-row inherited expandable">
|
|
|
569 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
570 |
<td class="sig">
|
|
|
571 |
<a id="Ext.grid.GridView-un"></a>
|
|
|
572 |
<b>un</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc">
|
|
|
573 |
<div class="short">Removes a listener (shorthand for removeListener)</div>
|
|
|
574 |
<div class="long">
|
|
|
575 |
Removes a listener (shorthand for removeListener) <div class="mdetail-params">
|
|
|
576 |
<strong>Parameters:</strong>
|
|
|
577 |
<ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li> </ul>
|
|
|
578 |
<strong>Returns:</strong>
|
|
|
579 |
<ul>
|
|
|
580 |
<li><code>void</code></li>
|
|
|
581 |
</ul>
|
|
|
582 |
</div>
|
|
|
583 |
</div>
|
|
|
584 |
</div>
|
|
|
585 |
</td>
|
|
|
586 |
<td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
|
|
|
587 |
</tr>
|
|
|
588 |
</table>
|
|
|
589 |
<a id="Ext.grid.GridView-events"></a>
|
|
|
590 |
<h2>Public Events</h2>
|
|
|
591 |
<table cellspacing="0" class="member-table">
|
|
|
592 |
<tr>
|
|
|
593 |
<th class="sig-header" colspan="2">Event</th>
|
|
|
594 |
<th class="msource-header">Defined By</th>
|
|
|
595 |
</tr>
|
|
|
596 |
<tr class="event-row expandable">
|
|
|
597 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
598 |
<td class="sig">
|
|
|
599 |
<a id="Ext.grid.GridView-beforerefresh"></a>
|
|
|
600 |
<b>beforerefresh</b> : ( <code>Ext.grid.GridView view</code> ) <div class="mdesc">
|
|
|
601 |
<div class="short">Internal UI Event. Fired before the view is refreshed.</div>
|
|
|
602 |
<div class="long">
|
|
|
603 |
Internal UI Event. Fired before the view is refreshed. <div class="mdetail-params">
|
|
|
604 |
<strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
|
|
|
605 |
<ul><li><code>view</code> : Ext.grid.GridView<div class="sub-desc"></div></li> </ul>
|
|
|
606 |
</div>
|
|
|
607 |
</div>
|
|
|
608 |
</div>
|
|
|
609 |
</td>
|
|
|
610 |
<td class="msource">GridView</td>
|
|
|
611 |
</tr>
|
|
|
612 |
<tr class="event-row alt expandable">
|
|
|
613 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
614 |
<td class="sig">
|
|
|
615 |
<a id="Ext.grid.GridView-beforerowremoved"></a>
|
|
|
616 |
<b>beforerowremoved</b> : ( <code>Ext.grid.GridView view</code>, <code>Number rowIndex</code>, <code>Ext.data.Record record</code> ) <div class="mdesc">
|
|
|
617 |
<div class="short">Internal UI Event. Fired before a row is removed.</div>
|
|
|
618 |
<div class="long">
|
|
|
619 |
Internal UI Event. Fired before a row is removed. <div class="mdetail-params">
|
|
|
620 |
<strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
|
|
|
621 |
<ul><li><code>view</code> : Ext.grid.GridView<div class="sub-desc"></div></li><li><code>rowIndex</code> : Number<div class="sub-desc">The index of the row to be removed.</div></li><li><code>record</code> : Ext.data.Record<div class="sub-desc">The Record to be removed</div></li> </ul>
|
|
|
622 |
</div>
|
|
|
623 |
</div>
|
|
|
624 |
</div>
|
|
|
625 |
</td>
|
|
|
626 |
<td class="msource">GridView</td>
|
|
|
627 |
</tr>
|
|
|
628 |
<tr class="event-row expandable">
|
|
|
629 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
630 |
<td class="sig">
|
|
|
631 |
<a id="Ext.grid.GridView-beforerowsinserted"></a>
|
|
|
632 |
<b>beforerowsinserted</b> : ( <code>Ext.grid.GridView view</code>, <code>Number firstRow</code>, <code>Number lastRow</code> ) <div class="mdesc">
|
|
|
633 |
<div class="short">Internal UI Event. Fired before rows are inserted.</div>
|
|
|
634 |
<div class="long">
|
|
|
635 |
Internal UI Event. Fired before rows are inserted. <div class="mdetail-params">
|
|
|
636 |
<strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
|
|
|
637 |
<ul><li><code>view</code> : Ext.grid.GridView<div class="sub-desc"></div></li><li><code>firstRow</code> : Number<div class="sub-desc">The index of the first row to be inserted.</div></li><li><code>lastRow</code> : Number<div class="sub-desc">The index of the last row to be inserted.</div></li> </ul>
|
|
|
638 |
</div>
|
|
|
639 |
</div>
|
|
|
640 |
</div>
|
|
|
641 |
</td>
|
|
|
642 |
<td class="msource">GridView</td>
|
|
|
643 |
</tr>
|
|
|
644 |
<tr class="event-row alt expandable">
|
|
|
645 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
646 |
<td class="sig">
|
|
|
647 |
<a id="Ext.grid.GridView-refresh"></a>
|
|
|
648 |
<b>refresh</b> : ( <code>Ext.grid.GridView view</code> ) <div class="mdesc">
|
|
|
649 |
<div class="short">Internal UI Event. Fired after the GridView's body has been refreshed.</div>
|
|
|
650 |
<div class="long">
|
|
|
651 |
Internal UI Event. Fired after the GridView's body has been refreshed. <div class="mdetail-params">
|
|
|
652 |
<strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
|
|
|
653 |
<ul><li><code>view</code> : Ext.grid.GridView<div class="sub-desc"></div></li> </ul>
|
|
|
654 |
</div>
|
|
|
655 |
</div>
|
|
|
656 |
</div>
|
|
|
657 |
</td>
|
|
|
658 |
<td class="msource">GridView</td>
|
|
|
659 |
</tr>
|
|
|
660 |
<tr class="event-row expandable">
|
|
|
661 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
662 |
<td class="sig">
|
|
|
663 |
<a id="Ext.grid.GridView-rowremoved"></a>
|
|
|
664 |
<b>rowremoved</b> : ( <code>Ext.grid.GridView view</code>, <code>Number rowIndex</code>, <code>Ext.data.Record record</code> ) <div class="mdesc">
|
|
|
665 |
<div class="short">Internal UI Event. Fired after a row is removed.</div>
|
|
|
666 |
<div class="long">
|
|
|
667 |
Internal UI Event. Fired after a row is removed. <div class="mdetail-params">
|
|
|
668 |
<strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
|
|
|
669 |
<ul><li><code>view</code> : Ext.grid.GridView<div class="sub-desc"></div></li><li><code>rowIndex</code> : Number<div class="sub-desc">The index of the row that was removed.</div></li><li><code>record</code> : Ext.data.Record<div class="sub-desc">The Record that was removed</div></li> </ul>
|
|
|
670 |
</div>
|
|
|
671 |
</div>
|
|
|
672 |
</div>
|
|
|
673 |
</td>
|
|
|
674 |
<td class="msource">GridView</td>
|
|
|
675 |
</tr>
|
|
|
676 |
<tr class="event-row alt expandable">
|
|
|
677 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
678 |
<td class="sig">
|
|
|
679 |
<a id="Ext.grid.GridView-rowsinserted"></a>
|
|
|
680 |
<b>rowsinserted</b> : ( <code>Ext.grid.GridView view</code>, <code>Number firstRow</code>, <code>Number lastRow</code> ) <div class="mdesc">
|
|
|
681 |
<div class="short">Internal UI Event. Fired after rows are inserted.</div>
|
|
|
682 |
<div class="long">
|
|
|
683 |
Internal UI Event. Fired after rows are inserted. <div class="mdetail-params">
|
|
|
684 |
<strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
|
|
|
685 |
<ul><li><code>view</code> : Ext.grid.GridView<div class="sub-desc"></div></li><li><code>firstRow</code> : Number<div class="sub-desc">The index of the first inserted.</div></li><li><code>lastRow</code> : Number<div class="sub-desc">The index of the last row inserted.</div></li> </ul>
|
|
|
686 |
</div>
|
|
|
687 |
</div>
|
|
|
688 |
</div>
|
|
|
689 |
</td>
|
|
|
690 |
<td class="msource">GridView</td>
|
|
|
691 |
</tr>
|
|
|
692 |
<tr class="event-row expandable">
|
|
|
693 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
694 |
<td class="sig">
|
|
|
695 |
<a id="Ext.grid.GridView-rowupdated"></a>
|
|
|
696 |
<b>rowupdated</b> : ( <code>Ext.grid.GridView view</code>, <code>Number firstRow</code>, <code>Ext.data.record record</code> ) <div class="mdesc">
|
|
|
697 |
<div class="short">Internal UI Event. Fired after a row has been updated.</div>
|
|
|
698 |
<div class="long">
|
|
|
699 |
Internal UI Event. Fired after a row has been updated. <div class="mdetail-params">
|
|
|
700 |
<strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
|
|
|
701 |
<ul><li><code>view</code> : Ext.grid.GridView<div class="sub-desc"></div></li><li><code>firstRow</code> : Number<div class="sub-desc">The index of the row updated.</div></li><li><code>record</code> : Ext.data.record<div class="sub-desc">The Record backing the row updated.</div></li> </ul>
|
|
|
702 |
</div>
|
|
|
703 |
</div>
|
|
|
704 |
</div>
|
|
|
705 |
</td>
|
|
|
706 |
<td class="msource">GridView</td>
|
|
|
707 |
</tr>
|
|
|
708 |
</table>
|
|
|
709 |
|
|
|
710 |
</div>
|