root/platform/firefox/FireMobileSimulator/trunk/src/chrome/content/ext-2.2/docs/output/Ext.grid.CellSelectionModel.html @ 25482

Revision 25482, 32.0 kB (checked in by thorikawa, 5 years ago)

端末追加画面を試験的にExtJSに対応
TODO: 端末名によるリアルタイム絞り込み検索/キャリアによる絞り込み

  • Property svn:mime-type set to text/plain
  • Property svn:executable set to *
Line 
1        <div class="body-wrap">
2        <div class="top-tools">
3            <a class="inner-link" href="#Ext.grid.CellSelectionModel-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4            <a class="inner-link" href="#Ext.grid.CellSelectionModel-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5            <a class="inner-link" href="#Ext.grid.CellSelectionModel-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6                            <a class="inner-link" href="#Ext.grid.CellSelectionModel-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.CellSelectionModel"><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"/><a ext:cls="Ext.grid.AbstractSelectionModel" ext:member="" href="output/Ext.grid.AbstractSelectionModel.html">AbstractSelectionModel</a>
12    <img src="resources/elbow-end.gif"/>CellSelectionModel</pre></div>
13                <h1>Class Ext.grid.CellSelectionModel</h1>
14        <table cellspacing="0">
15            <tr><td class="label">Package:</td><td class="hd-info">Ext.grid</td></tr>
16            <tr><td class="label">Defined In:</td><td class="hd-info">CellSelectionModel.js</td></tr>
17            <tr><td class="label">Class:</td><td class="hd-info">CellSelectionModel</td></tr>
18                                    <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.grid.AbstractSelectionModel" ext:member="" href="output/Ext.grid.AbstractSelectionModel.html">AbstractSelectionModel</a></td></tr>
19                    </table>
20        <div class="description">
21            This class provides the basic implementation for single cell selection in a grid. The object stored
22as the selection and returned by <a ext:cls="getSelectedCell" href="output/getSelectedCell.html">getSelectedCell</a> contains the following properties:
23<div class="mdetail-params"><ul>
24<li><b>record</b> : Ext.data.record<p class="sub-desc">The <a ext:cls="Ext.data.Record" href="output/Ext.data.Record.html">Record</a>
25which provides the data for the row containing the selection</p></li>
26<li><b>cell</b> : Ext.data.record<p class="sub-desc">An object containing the
27following properties:
28<div class="mdetail-params"><ul>
29<li><b>rowIndex</b> : Number<p class="sub-desc">The index of the selected row</p></li>
30<li><b>cellIndex</b> : Number<p class="sub-desc">The index of the selected cell<br>
31<b>Note that due to possible column reordering, the cellIndex should not be used as an index into
32the Record's data. Instead, the <i>name</i> of the selected field should be determined
33in order to retrieve the data value from the record by name:</b><pre><code>var fieldName = grid.getColumnModel().getDataIndex(cellIndex);
34    <b>var</b> data = record.get(fieldName);</code></pre></p></li>
35</ul></div></p></li>
36</ul></div>        </div>
37       
38        <div class="hr"></div>
39                <a id="Ext.grid.CellSelectionModel-configs"></a>
40        <h2>Config Options</h2>
41        <table cellspacing="0" class="member-table">
42            <tr>
43                <th class="sig-header" colspan="2">Config Options</th>
44                <th class="msource-header">Defined By</th>
45            </tr>
46                <tr class="config-row inherited expandable">
47        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
48        <td class="sig">
49        <a id="Ext.grid.CellSelectionModel-listeners"></a>
50            <b>listeners</b> : Object            <div class="mdesc">
51                        <div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
52            <div class="long">
53                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>
54                        </div>
55        </td>
56        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
57    </tr>
58            </table>
59                <a id="Ext.grid.CellSelectionModel-props"></a>
60        <h2>Public Properties</h2>
61        <div class="no-members">This class has no public properties.</div>        <a id="Ext.grid.CellSelectionModel-methods"></a>
62        <h2>Public Methods</h2>
63                <table cellspacing="0" class="member-table">
64            <tr>
65                <th class="sig-header" colspan="2">Method</th>
66                <th class="msource-header">Defined By</th>
67            </tr>
68                <tr class="method-row expandable">
69        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
70        <td class="sig">
71        <a id="Ext.grid.CellSelectionModel-CellSelectionModel"></a>
72            <b>CellSelectionModel</b>(&nbsp;<code>Object config</code>&nbsp;)            <div class="mdesc">
73                        <div class="short"></div>
74            <div class="long">
75                    <div class="mdetail-params">
76        <strong>Parameters:</strong>
77        <ul><li><code>config</code> : Object<div class="sub-desc">The object containing the configuration of this model.</div></li>        </ul>
78        <strong>Returns:</strong>
79        <ul>
80            <li><code></code></li>
81        </ul>
82    </div>
83                </div>
84                        </div>
85        </td>
86        <td class="msource">CellSelectionModel</td>
87    </tr>
88        <tr class="method-row inherited alt expandable">
89        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
90        <td class="sig">
91        <a id="Ext.grid.CellSelectionModel-addEvents"></a>
92            <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void            <div class="mdesc">
93                        <div class="short">Used to define events on this Observable</div>
94            <div class="long">
95                Used to define events on this Observable    <div class="mdetail-params">
96        <strong>Parameters:</strong>
97        <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li>        </ul>
98        <strong>Returns:</strong>
99        <ul>
100            <li><code>void</code></li>
101        </ul>
102    </div>
103                </div>
104                        </div>
105        </td>
106        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
107    </tr>
108        <tr class="method-row inherited expandable">
109        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
110        <td class="sig">
111        <a id="Ext.grid.CellSelectionModel-addListener"></a>
112            <b>addListener</b>(&nbsp;<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>&nbsp;) : void            <div class="mdesc">
113                        <div class="short">Appends an event handler to this component</div>
114            <div class="long">
115                Appends an event handler to this component    <div class="mdetail-params">
116        <strong>Parameters:</strong>
117        <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
118function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
119properties. This may contain any of the following properties:<ul>
120<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>
121<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>
122<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>
123<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
124by the specified number of milliseconds. If the event fires again within that time, the original
125handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
126</ul><br>
127<p>
128<b>Combining Options</b><br>
129Using the options argument, it is possible to combine different types of listeners:<br>
130<br>
131A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
132<pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
133    single: true,
134    delay: 100,
135    forumId: 4
136});</code></pre>
137<p>
138<b>Attaching multiple handlers in 1 call</b><br>
139The method also allows for a single argument to be passed which is a config object containing properties
140which specify multiple handlers.
141<p>
142<pre><code>foo.on({
143    <em>'click'</em> : {
144        fn: <b>this</b>.onClick,
145        scope: <b>this</b>,
146        delay: 100
147    },
148    <em>'mouseover'</em> : {
149        fn: <b>this</b>.onMouseOver,
150        scope: <b>this</b>
151    },
152    <em>'mouseout'</em> : {
153        fn: <b>this</b>.onMouseOut,
154        scope: <b>this</b>
155    }
156});</code></pre>
157<p>
158Or a shorthand syntax:<br>
159<pre><code>foo.on({
160    <em>'click'</em> : <b>this</b>.onClick,
161    <em>'mouseover'</em> : <b>this</b>.onMouseOver,
162    <em>'mouseout'</em> : <b>this</b>.onMouseOut,
163     scope: <b>this</b>
164});</code></pre></div></li>        </ul>
165        <strong>Returns:</strong>
166        <ul>
167            <li><code>void</code></li>
168        </ul>
169    </div>
170                </div>
171                        </div>
172        </td>
173        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
174    </tr>
175        <tr class="method-row alt expandable">
176        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
177        <td class="sig">
178        <a id="Ext.grid.CellSelectionModel-clearSelections"></a>
179            <b>clearSelections</b>(&nbsp;<code>Boolean true</code>&nbsp;) : void            <div class="mdesc">
180                        <div class="short">Clears all selections.</div>
181            <div class="long">
182                Clears all selections.    <div class="mdetail-params">
183        <strong>Parameters:</strong>
184        <ul><li><code>true</code> : Boolean<div class="sub-desc">to prevent the gridview from being notified about the change.</div></li>        </ul>
185        <strong>Returns:</strong>
186        <ul>
187            <li><code>void</code></li>
188        </ul>
189    </div>
190                </div>
191                        </div>
192        </td>
193        <td class="msource">CellSelectionModel</td>
194    </tr>
195        <tr class="method-row inherited expandable">
196        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
197        <td class="sig">
198        <a id="Ext.grid.CellSelectionModel-fireEvent"></a>
199            <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean            <div class="mdesc">
200                        <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
201            <div class="long">
202                Fires the specified event with the passed parameters (minus the event name).    <div class="mdetail-params">
203        <strong>Parameters:</strong>
204        <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>
205        <strong>Returns:</strong>
206        <ul>
207            <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
208        </ul>
209    </div>
210                </div>
211                        </div>
212        </td>
213        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
214    </tr>
215        <tr class="method-row alt expandable">
216        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
217        <td class="sig">
218        <a id="Ext.grid.CellSelectionModel-getSelectedCell"></a>
219            <b>getSelectedCell</b>() : Array            <div class="mdesc">
220                        <div class="short">Returns the currently selected cell's row and column indexes as an array (e.g., [0, 0]).</div>
221            <div class="long">
222                Returns the currently selected cell's row and column indexes as an array (e.g., [0, 0]).    <div class="mdetail-params">
223        <strong>Parameters:</strong>
224        <ul><li>None.</li>        </ul>
225        <strong>Returns:</strong>
226        <ul>
227            <li><code>Array</code><div class="sub-desc">An array containing the row and column indexes of the selected cell, or null if none selected.</div></li>
228        </ul>
229    </div>
230                </div>
231                        </div>
232        </td>
233        <td class="msource">CellSelectionModel</td>
234    </tr>
235        <tr class="method-row inherited expandable">
236        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
237        <td class="sig">
238        <a id="Ext.grid.CellSelectionModel-hasListener"></a>
239            <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean            <div class="mdesc">
240                        <div class="short">Checks to see if this object has any listeners for a specified event</div>
241            <div class="long">
242                Checks to see if this object has any listeners for a specified event    <div class="mdetail-params">
243        <strong>Parameters:</strong>
244        <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li>        </ul>
245        <strong>Returns:</strong>
246        <ul>
247            <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
248        </ul>
249    </div>
250                </div>
251                        </div>
252        </td>
253        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
254    </tr>
255        <tr class="method-row alt expandable">
256        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
257        <td class="sig">
258        <a id="Ext.grid.CellSelectionModel-hasSelection"></a>
259            <b>hasSelection</b>() : Boolean            <div class="mdesc">
260                        <div class="short">Returns true if there is a selection.</div>
261            <div class="long">
262                Returns true if there is a selection.    <div class="mdetail-params">
263        <strong>Parameters:</strong>
264        <ul><li>None.</li>        </ul>
265        <strong>Returns:</strong>
266        <ul>
267            <li><code>Boolean</code></li>
268        </ul>
269    </div>
270                </div>
271                        </div>
272        </td>
273        <td class="msource">CellSelectionModel</td>
274    </tr>
275        <tr class="method-row inherited expandable">
276        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
277        <td class="sig">
278        <a id="Ext.grid.CellSelectionModel-isLocked"></a>
279            <b>isLocked</b>() : Boolean            <div class="mdesc">
280                        <div class="short">Returns true if the selections are locked.</div>
281            <div class="long">
282                Returns true if the selections are locked.    <div class="mdetail-params">
283        <strong>Parameters:</strong>
284        <ul><li>None.</li>        </ul>
285        <strong>Returns:</strong>
286        <ul>
287            <li><code>Boolean</code></li>
288        </ul>
289    </div>
290                </div>
291                        </div>
292        </td>
293        <td class="msource"><a ext:cls="Ext.grid.AbstractSelectionModel" ext:member="#isLocked" href="output/Ext.grid.AbstractSelectionModel.html#isLocked">AbstractSelectionModel</a></td>
294    </tr>
295        <tr class="method-row inherited alt expandable">
296        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
297        <td class="sig">
298        <a id="Ext.grid.CellSelectionModel-lock"></a>
299            <b>lock</b>() : void            <div class="mdesc">
300                        <div class="short">Locks the selections.</div>
301            <div class="long">
302                Locks the selections.    <div class="mdetail-params">
303        <strong>Parameters:</strong>
304        <ul><li>None.</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"><a ext:cls="Ext.grid.AbstractSelectionModel" ext:member="#lock" href="output/Ext.grid.AbstractSelectionModel.html#lock">AbstractSelectionModel</a></td>
314    </tr>
315        <tr class="method-row inherited expandable">
316        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
317        <td class="sig">
318        <a id="Ext.grid.CellSelectionModel-on"></a>
319            <b>on</b>(&nbsp;<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>&nbsp;) : void            <div class="mdesc">
320                        <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
321            <div class="long">
322                Appends an event handler to this element (shorthand for addListener)    <div class="mdetail-params">
323        <strong>Parameters:</strong>
324        <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
325function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>
326        <strong>Returns:</strong>
327        <ul>
328            <li><code>void</code></li>
329        </ul>
330    </div>
331                </div>
332                        </div>
333        </td>
334        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
335    </tr>
336        <tr class="method-row inherited alt expandable">
337        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
338        <td class="sig">
339        <a id="Ext.grid.CellSelectionModel-purgeListeners"></a>
340            <b>purgeListeners</b>() : void            <div class="mdesc">
341                        <div class="short">Removes all listeners for this object</div>
342            <div class="long">
343                Removes all listeners for this object    <div class="mdetail-params">
344        <strong>Parameters:</strong>
345        <ul><li>None.</li>        </ul>
346        <strong>Returns:</strong>
347        <ul>
348            <li><code>void</code></li>
349        </ul>
350    </div>
351                </div>
352                        </div>
353        </td>
354        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
355    </tr>
356        <tr class="method-row inherited expandable">
357        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
358        <td class="sig">
359        <a id="Ext.grid.CellSelectionModel-relayEvents"></a>
360            <b>relayEvents</b>(&nbsp;<code>Object o</code>, <code>Array events</code>&nbsp;) : void            <div class="mdesc">
361                        <div class="short">Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.</div>
362            <div class="long">
363                Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.    <div class="mdetail-params">
364        <strong>Parameters:</strong>
365        <ul><li><code>o</code> : Object<div class="sub-desc">The Observable whose events this object is to relay.</div></li><li><code>events</code> : Array<div class="sub-desc">Array of event names to relay.</div></li>        </ul>
366        <strong>Returns:</strong>
367        <ul>
368            <li><code>void</code></li>
369        </ul>
370    </div>
371                </div>
372                        </div>
373        </td>
374        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#relayEvents" href="output/Ext.util.Observable.html#relayEvents">Observable</a></td>
375    </tr>
376        <tr class="method-row inherited alt expandable">
377        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
378        <td class="sig">
379        <a id="Ext.grid.CellSelectionModel-removeListener"></a>
380            <b>removeListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
381                        <div class="short">Removes a listener</div>
382            <div class="long">
383                Removes a listener    <div class="mdetail-params">
384        <strong>Parameters:</strong>
385        <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>
386        <strong>Returns:</strong>
387        <ul>
388            <li><code>void</code></li>
389        </ul>
390    </div>
391                </div>
392                        </div>
393        </td>
394        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
395    </tr>
396        <tr class="method-row inherited expandable">
397        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
398        <td class="sig">
399        <a id="Ext.grid.CellSelectionModel-resumeEvents"></a>
400            <b>resumeEvents</b>() : void            <div class="mdesc">
401                        <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>
402            <div class="long">
403                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">
404        <strong>Parameters:</strong>
405        <ul><li>None.</li>        </ul>
406        <strong>Returns:</strong>
407        <ul>
408            <li><code>void</code></li>
409        </ul>
410    </div>
411                </div>
412                        </div>
413        </td>
414        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
415    </tr>
416        <tr class="method-row alt expandable">
417        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
418        <td class="sig">
419        <a id="Ext.grid.CellSelectionModel-select"></a>
420            <b>select</b>(&nbsp;<code>Number rowIndex</code>, <code>Number collIndex</code>&nbsp;) : void            <div class="mdesc">
421                        <div class="short">Selects a cell.</div>
422            <div class="long">
423                Selects a cell.    <div class="mdetail-params">
424        <strong>Parameters:</strong>
425        <ul><li><code>rowIndex</code> : Number<div class="sub-desc"></div></li><li><code>collIndex</code> : Number<div class="sub-desc"></div></li>        </ul>
426        <strong>Returns:</strong>
427        <ul>
428            <li><code>void</code></li>
429        </ul>
430    </div>
431                </div>
432                        </div>
433        </td>
434        <td class="msource">CellSelectionModel</td>
435    </tr>
436        <tr class="method-row inherited expandable">
437        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
438        <td class="sig">
439        <a id="Ext.grid.CellSelectionModel-suspendEvents"></a>
440            <b>suspendEvents</b>() : void            <div class="mdesc">
441                        <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>
442            <div class="long">
443                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">
444        <strong>Parameters:</strong>
445        <ul><li>None.</li>        </ul>
446        <strong>Returns:</strong>
447        <ul>
448            <li><code>void</code></li>
449        </ul>
450    </div>
451                </div>
452                        </div>
453        </td>
454        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
455    </tr>
456        <tr class="method-row inherited alt expandable">
457        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
458        <td class="sig">
459        <a id="Ext.grid.CellSelectionModel-un"></a>
460            <b>un</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
461                        <div class="short">Removes a listener (shorthand for removeListener)</div>
462            <div class="long">
463                Removes a listener (shorthand for removeListener)    <div class="mdetail-params">
464        <strong>Parameters:</strong>
465        <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>
466        <strong>Returns:</strong>
467        <ul>
468            <li><code>void</code></li>
469        </ul>
470    </div>
471                </div>
472                        </div>
473        </td>
474        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
475    </tr>
476        <tr class="method-row inherited expandable">
477        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
478        <td class="sig">
479        <a id="Ext.grid.CellSelectionModel-unlock"></a>
480            <b>unlock</b>() : void            <div class="mdesc">
481                        <div class="short">Unlocks the selections.</div>
482            <div class="long">
483                Unlocks the selections.    <div class="mdetail-params">
484        <strong>Parameters:</strong>
485        <ul><li>None.</li>        </ul>
486        <strong>Returns:</strong>
487        <ul>
488            <li><code>void</code></li>
489        </ul>
490    </div>
491                </div>
492                        </div>
493        </td>
494        <td class="msource"><a ext:cls="Ext.grid.AbstractSelectionModel" ext:member="#unlock" href="output/Ext.grid.AbstractSelectionModel.html#unlock">AbstractSelectionModel</a></td>
495    </tr>
496            </table>
497                <a id="Ext.grid.CellSelectionModel-events"></a>
498        <h2>Public Events</h2>
499                <table cellspacing="0" class="member-table">
500            <tr>
501                <th class="sig-header" colspan="2">Event</th>
502                <th class="msource-header">Defined By</th>
503            </tr>
504                <tr class="event-row expandable">
505        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
506        <td class="sig">
507        <a id="Ext.grid.CellSelectionModel-beforecellselect"></a>
508            <b>beforecellselect</b> : (&nbsp;<code>SelectionModel this</code>, <code>Number rowIndex</code>, <code>Number colIndex</code>&nbsp;)            <div class="mdesc">
509                        <div class="short">Fires before a cell is selected.</div>
510            <div class="long">
511                Fires before a cell is selected.    <div class="mdetail-params">
512        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
513        <ul><li><code>this</code> : SelectionModel<div class="sub-desc"></div></li><li><code>rowIndex</code> : Number<div class="sub-desc">The selected row index</div></li><li><code>colIndex</code> : Number<div class="sub-desc">The selected cell index</div></li>        </ul>
514    </div>
515                </div>
516                        </div>
517        </td>
518        <td class="msource">CellSelectionModel</td>
519    </tr>
520        <tr class="event-row alt expandable">
521        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
522        <td class="sig">
523        <a id="Ext.grid.CellSelectionModel-cellselect"></a>
524            <b>cellselect</b> : (&nbsp;<code>SelectionModel this</code>, <code>Number rowIndex</code>, <code>Number colIndex</code>&nbsp;)            <div class="mdesc">
525                        <div class="short">Fires when a cell is selected.</div>
526            <div class="long">
527                Fires when a cell is selected.    <div class="mdetail-params">
528        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
529        <ul><li><code>this</code> : SelectionModel<div class="sub-desc"></div></li><li><code>rowIndex</code> : Number<div class="sub-desc">The selected row index</div></li><li><code>colIndex</code> : Number<div class="sub-desc">The selected cell index</div></li>        </ul>
530    </div>
531                </div>
532                        </div>
533        </td>
534        <td class="msource">CellSelectionModel</td>
535    </tr>
536        <tr class="event-row expandable">
537        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
538        <td class="sig">
539        <a id="Ext.grid.CellSelectionModel-selectionchange"></a>
540            <b>selectionchange</b> : (&nbsp;<code>SelectionModel this</code>, <code>Object selection</code>&nbsp;)            <div class="mdesc">
541                        <div class="short">Fires when the active selection changes.</div>
542            <div class="long">
543                Fires when the active selection changes.    <div class="mdetail-params">
544        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
545        <ul><li><code>this</code> : SelectionModel<div class="sub-desc"></div></li><li><code>selection</code> : Object<div class="sub-desc">null for no selection or an object (o) with two properties
546         <ul>
547         <li>o.record: the record object for the row the selection is in</li>
548         <li>o.cell: An array of [rowIndex, columnIndex]</li>
549         </ul></div></li>        </ul>
550    </div>
551                </div>
552                        </div>
553        </td>
554        <td class="msource">CellSelectionModel</td>
555    </tr>
556            </table>
557       
558        </div>
Note: See TracBrowser for help on using the browser.