b81637961648cd38e751cc0d7099bcf054f7561d.svn-base 125 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147
  1. <div class="body-wrap">
  2. <div class="top-tools">
  3. <a class="inner-link" href="#Ext.DataView-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
  4. <a class="inner-link" href="#Ext.DataView-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
  5. <a class="inner-link" href="#Ext.DataView-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
  6. <a class="inner-link" href="#Ext.DataView-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
  7. <a class="bookmark" href="../docs/?class=Ext.DataView"><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.Component" ext:member="" href="output/Ext.Component.html">Component</a>
  12. <img src="resources/elbow-end.gif"/><a ext:cls="Ext.BoxComponent" ext:member="" href="output/Ext.BoxComponent.html">BoxComponent</a>
  13. <img src="resources/elbow-end.gif"/>DataView</pre></div>
  14. <h1>Class Ext.DataView</h1>
  15. <table cellspacing="0">
  16. <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
  17. <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/DataView.js" target="_blank">DataView.js</a></td></tr>
  18. <tr><td class="label">Class:</td><td class="hd-info">DataView</td></tr>
  19. <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.BoxComponent" ext:member="" href="output/Ext.BoxComponent.html">BoxComponent</a></td></tr>
  20. </table>
  21. <div class="description">
  22. A mechanism for displaying data using custom layout templates and formatting. DataView uses an <a ext:cls="Ext.XTemplate" href="output/Ext.XTemplate.html">Ext.XTemplate</a>
  23. as its internal templating mechanisma, and is bound to an <a ext:cls="Ext.data.Store" href="output/Ext.data.Store.html">Ext.data.Store</a>
  24. so that as the data in the store changes the view is automatically updated to reflect the changes. The view also
  25. provides built-in behavior for many common events that can occur for its contained items including click, doubleclick,
  26. mouseover, mouseout, etc. as well as a built-in selection model. <b>In order to use these features, an itemSelector
  27. config must be provided for the DataView to determine what nodes it will be working with.</b>
  28. <p>The example below binds a DataView to a <a ext:cls="Ext.data.Store" href="output/Ext.data.Store.html">Ext.data.Store</a> and renders it into an <a ext:cls="Ext.Panel" href="output/Ext.Panel.html">Ext.Panel</a>.</p>
  29. <pre><code>var store = <b>new</b> Ext.data.JsonStore({
  30. url: <em>'get-images.php'</em>,
  31. root: <em>'images'</em>,
  32. fields: [
  33. <em>'name'</em>, <em>'url'</em>,
  34. {name:<em>'size'</em>, type: <em>'float'</em>},
  35. {name:<em>'lastmod'</em>, type:<em>'date'</em>, dateFormat:<em>'timestamp'</em>}
  36. ]
  37. });
  38. store.load();
  39. <b>var</b> tpl = <b>new</b> Ext.XTemplate(
  40. <em>'&lt;tpl <b>for</b>="."&gt;'</em>,
  41. <em>'&lt;div class="thumb-wrap" id="{name}"&gt;'</em>,
  42. <em>'&lt;div class="thumb"&gt;&lt;img src="{url}" title="{name}"&gt;&lt;/div&gt;'</em>,
  43. <em>'&lt;span class="x-editable"&gt;{shortName}&lt;/span&gt;&lt;/div&gt;'</em>,
  44. <em>'&lt;/tpl&gt;'</em>,
  45. <em>'&lt;div class="x-clear"&gt;&lt;/div&gt;'</em>
  46. );
  47. <b>var</b> panel = <b>new</b> Ext.Panel({
  48. id:<em>'images-view'</em>,
  49. frame:true,
  50. width:535,
  51. autoHeight:true,
  52. collapsible:true,
  53. layout:<em>'fit'</em>,
  54. title:<em>'Simple DataView'</em>,
  55. items: <b>new</b> Ext.DataView({
  56. store: store,
  57. tpl: tpl,
  58. autoHeight:true,
  59. multiSelect: true,
  60. overClass:<em>'x-view-over'</em>,
  61. itemSelector:<em>'div.thumb-wrap'</em>,
  62. emptyText: <em>'No images to display'</em>
  63. })
  64. });
  65. panel.render(document.body);</code></pre> </div>
  66. <div class="hr"></div>
  67. <a id="Ext.DataView-configs"></a>
  68. <h2>Config Options</h2>
  69. <table cellspacing="0" class="member-table">
  70. <tr>
  71. <th class="sig-header" colspan="2">Config Options</th>
  72. <th class="msource-header">Defined By</th>
  73. </tr>
  74. <tr class="config-row inherited">
  75. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  76. <td class="sig">
  77. <a id="Ext.DataView-allowDomMove"></a>
  78. <b>allowDomMove</b> : Boolean <div class="mdesc">
  79. Whether the component can move the Dom node when rendering (defaults to true). </div>
  80. </td>
  81. <td class="msource"><a ext:cls="Ext.Component" ext:member="#allowDomMove" href="output/Ext.Component.html#allowDomMove">Component</a></td>
  82. </tr>
  83. <tr class="config-row inherited alt expandable">
  84. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  85. <td class="sig">
  86. <a id="Ext.DataView-applyTo"></a>
  87. <b>applyTo</b> : Mixed <div class="mdesc">
  88. <div class="short">The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document ...</div>
  89. <div class="long">
  90. The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document that specifies some structural markup for this component. When applyTo is used, constituent parts of the component can also be specified by id or CSS class name within the main element, and the component being created may attempt to create its subcomponents from that markup if applicable. Using this config, a call to render() is not required. If applyTo is specified, any value passed for <a ext:cls="Ext.Component" ext:member="renderTo" href="output/Ext.Component.html#renderTo">renderTo</a> will be ignored and the target element's parent node will automatically be used as the component's container. </div>
  91. </div>
  92. </td>
  93. <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyTo" href="output/Ext.Component.html#applyTo">Component</a></td>
  94. </tr>
  95. <tr class="config-row inherited">
  96. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  97. <td class="sig">
  98. <a id="Ext.DataView-autoHeight"></a>
  99. <b>autoHeight</b> : Boolean <div class="mdesc">
  100. True to use height:'auto', false to use fixed height (defaults to false). </div>
  101. </td>
  102. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#autoHeight" href="output/Ext.BoxComponent.html#autoHeight">BoxComponent</a></td>
  103. </tr>
  104. <tr class="config-row inherited alt expandable">
  105. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  106. <td class="sig">
  107. <a id="Ext.DataView-autoShow"></a>
  108. <b>autoShow</b> : Boolean <div class="mdesc">
  109. <div class="short">True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render...</div>
  110. <div class="long">
  111. True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render (defaults to false). </div>
  112. </div>
  113. </td>
  114. <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>
  115. </tr>
  116. <tr class="config-row inherited">
  117. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  118. <td class="sig">
  119. <a id="Ext.DataView-autoWidth"></a>
  120. <b>autoWidth</b> : Boolean <div class="mdesc">
  121. True to use width:'auto', false to use fixed width (defaults to false). </div>
  122. </td>
  123. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#autoWidth" href="output/Ext.BoxComponent.html#autoWidth">BoxComponent</a></td>
  124. </tr>
  125. <tr class="config-row inherited alt expandable">
  126. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  127. <td class="sig">
  128. <a id="Ext.DataView-cls"></a>
  129. <b>cls</b> : String <div class="mdesc">
  130. <div class="short">An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for a...</div>
  131. <div class="long">
  132. An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for adding customized styles to the component or any of its children using standard CSS rules. </div>
  133. </div>
  134. </td>
  135. <td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">Component</a></td>
  136. </tr>
  137. <tr class="config-row inherited expandable">
  138. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  139. <td class="sig">
  140. <a id="Ext.DataView-ctCls"></a>
  141. <b>ctCls</b> : String <div class="mdesc">
  142. <div class="short">An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for...</div>
  143. <div class="long">
  144. An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for adding customized styles to the container or any of its children using standard CSS rules. </div>
  145. </div>
  146. </td>
  147. <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>
  148. </tr>
  149. <tr class="config-row inherited alt">
  150. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  151. <td class="sig">
  152. <a id="Ext.DataView-disabledClass"></a>
  153. <b>disabledClass</b> : String <div class="mdesc">
  154. CSS class added to the component when it is disabled (defaults to "x-item-disabled"). </div>
  155. </td>
  156. <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>
  157. </tr>
  158. <tr class="config-row">
  159. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  160. <td class="sig">
  161. <a id="Ext.DataView-emptyText"></a>
  162. <b>emptyText</b> : String <div class="mdesc">
  163. The text to display in the view when there is no data to display (defaults to ''). </div>
  164. </td>
  165. <td class="msource">DataView</td>
  166. </tr>
  167. <tr class="config-row inherited alt">
  168. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  169. <td class="sig">
  170. <a id="Ext.DataView-height"></a>
  171. <b>height</b> : Number <div class="mdesc">
  172. The height of this component in pixels (defaults to auto). </div>
  173. </td>
  174. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#height" href="output/Ext.BoxComponent.html#height">BoxComponent</a></td>
  175. </tr>
  176. <tr class="config-row inherited expandable">
  177. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  178. <td class="sig">
  179. <a id="Ext.DataView-hideMode"></a>
  180. <b>hideMode</b> : String <div class="mdesc">
  181. <div class="short">How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset posi...</div>
  182. <div class="long">
  183. How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display". </div>
  184. </div>
  185. </td>
  186. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td>
  187. </tr>
  188. <tr class="config-row inherited alt expandable">
  189. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  190. <td class="sig">
  191. <a id="Ext.DataView-hideParent"></a>
  192. <b>hideParent</b> : Boolean <div class="mdesc">
  193. <div class="short">True to hide and show the component's container when hide/show is called on the component, false to hide and show the...</div>
  194. <div class="long">
  195. True to hide and show the component's container when hide/show is called on the component, false to hide and show the component itself (defaults to false). For example, this can be used as a shortcut for a hide button on a window by setting hide:true on the button when adding it to its parent container. </div>
  196. </div>
  197. </td>
  198. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td>
  199. </tr>
  200. <tr class="config-row inherited">
  201. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  202. <td class="sig">
  203. <a id="Ext.DataView-id"></a>
  204. <b>id</b> : String <div class="mdesc">
  205. The unique id of this component (defaults to an auto-assigned id). </div>
  206. </td>
  207. <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td>
  208. </tr>
  209. <tr class="config-row alt expandable">
  210. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  211. <td class="sig">
  212. <a id="Ext.DataView-itemSelector"></a>
  213. <b>itemSelector</b> : String <div class="mdesc">
  214. <div class="short">This is a required setting. A CSS selector in any format supported by Ext.DomQuery that will be used to determine wha...</div>
  215. <div class="long">
  216. <b>This is a required setting</b>. A CSS selector in any format supported by <a ext:cls="Ext.DomQuery" href="output/Ext.DomQuery.html">Ext.DomQuery</a> that will be used to determine what nodes this DataView will be working with. </div>
  217. </div>
  218. </td>
  219. <td class="msource">DataView</td>
  220. </tr>
  221. <tr class="config-row inherited expandable">
  222. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  223. <td class="sig">
  224. <a id="Ext.DataView-listeners"></a>
  225. <b>listeners</b> : Object <div class="mdesc">
  226. <div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
  227. <div class="long">
  228. 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>
  229. </div>
  230. </td>
  231. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
  232. </tr>
  233. <tr class="config-row alt expandable">
  234. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  235. <td class="sig">
  236. <a id="Ext.DataView-loadingText"></a>
  237. <b>loadingText</b> : String <div class="mdesc">
  238. <div class="short">A string to display during data load operations (defaults to undefined). If specified, this text will be displayed in...</div>
  239. <div class="long">
  240. A string to display during data load operations (defaults to undefined). If specified, this text will be displayed in a loading div and the view's contents will be cleared while loading, otherwise the view's contents will continue to display normally until the new data is loaded and the contents are replaced. </div>
  241. </div>
  242. </td>
  243. <td class="msource">DataView</td>
  244. </tr>
  245. <tr class="config-row expandable">
  246. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  247. <td class="sig">
  248. <a id="Ext.DataView-multiSelect"></a>
  249. <b>multiSelect</b> : Boolean <div class="mdesc">
  250. <div class="short">True to allow selection of more than one item at a time, false to allow selection of only a single item at a time or ...</div>
  251. <div class="long">
  252. True to allow selection of more than one item at a time, false to allow selection of only a single item at a time or no selection at all, depending on the value of <a ext:cls="Ext.DataView" ext:member="singleSelect" href="output/Ext.DataView.html#singleSelect">singleSelect</a> (defaults to false). </div>
  253. </div>
  254. </td>
  255. <td class="msource">DataView</td>
  256. </tr>
  257. <tr class="config-row alt">
  258. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  259. <td class="sig">
  260. <a id="Ext.DataView-overClass"></a>
  261. <b>overClass</b> : String <div class="mdesc">
  262. A CSS class to apply to each item in the view on mouseover (defaults to undefined). </div>
  263. </td>
  264. <td class="msource">DataView</td>
  265. </tr>
  266. <tr class="config-row inherited expandable">
  267. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  268. <td class="sig">
  269. <a id="Ext.DataView-plugins"></a>
  270. <b>plugins</b> : Object/Array <div class="mdesc">
  271. <div class="short">An object or array of objects that will provide custom functionality for this component. The only requirement for a v...</div>
  272. <div class="long">
  273. An object or array of objects that will provide custom functionality for this component. The only requirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.Component. When a component is created, if any plugins are available, the component will call the init method on each plugin, passing a reference to itself. Each plugin can then call methods or respond to events on the component as needed to provide its functionality. </div>
  274. </div>
  275. </td>
  276. <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>
  277. </tr>
  278. <tr class="config-row inherited alt expandable">
  279. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  280. <td class="sig">
  281. <a id="Ext.DataView-renderTo"></a>
  282. <b>renderTo</b> : Mixed <div class="mdesc">
  283. <div class="short">The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using...</div>
  284. <div class="long">
  285. The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using this config, a call to render() is not required. </div>
  286. </div>
  287. </td>
  288. <td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>
  289. </tr>
  290. <tr class="config-row">
  291. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  292. <td class="sig">
  293. <a id="Ext.DataView-selectedClass"></a>
  294. <b>selectedClass</b> : String <div class="mdesc">
  295. A CSS class to apply to each selected item in the view (defaults to 'x-view-selected'). </div>
  296. </td>
  297. <td class="msource">DataView</td>
  298. </tr>
  299. <tr class="config-row alt expandable">
  300. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  301. <td class="sig">
  302. <a id="Ext.DataView-simpleSelect"></a>
  303. <b>simpleSelect</b> : Boolean <div class="mdesc">
  304. <div class="short">True to enable multiselection by clicking on multiple items without requiring the user to hold Shift or Ctrl, false t...</div>
  305. <div class="long">
  306. True to enable multiselection by clicking on multiple items without requiring the user to hold Shift or Ctrl, false to force the user to hold Ctrl or Shift to select more than on item (defaults to false). </div>
  307. </div>
  308. </td>
  309. <td class="msource">DataView</td>
  310. </tr>
  311. <tr class="config-row expandable">
  312. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  313. <td class="sig">
  314. <a id="Ext.DataView-singleSelect"></a>
  315. <b>singleSelect</b> : Boolean <div class="mdesc">
  316. <div class="short">True to allow selection of exactly one item at a time, false to allow no selection at all (defaults to false). Note t...</div>
  317. <div class="long">
  318. True to allow selection of exactly one item at a time, false to allow no selection at all (defaults to false). Note that if <a ext:cls="Ext.DataView" ext:member="multiSelect" href="output/Ext.DataView.html#multiSelect">multiSelect</a> = true, this value will be ignored. </div>
  319. </div>
  320. </td>
  321. <td class="msource">DataView</td>
  322. </tr>
  323. <tr class="config-row inherited alt expandable">
  324. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  325. <td class="sig">
  326. <a id="Ext.DataView-stateEvents"></a>
  327. <b>stateEvents</b> : Array <div class="mdesc">
  328. <div class="short">An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be...</div>
  329. <div class="long">
  330. An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be any types of events supported by this component, including browser or custom events (e.g., ['click', 'customerchange']). </div>
  331. </div>
  332. </td>
  333. <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>
  334. </tr>
  335. <tr class="config-row inherited">
  336. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  337. <td class="sig">
  338. <a id="Ext.DataView-stateId"></a>
  339. <b>stateId</b> : String <div class="mdesc">
  340. The unique id for this component to use for state management purposes (defaults to the component id). </div>
  341. </td>
  342. <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>
  343. </tr>
  344. <tr class="config-row alt">
  345. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  346. <td class="sig">
  347. <a id="Ext.DataView-store"></a>
  348. <b>store</b> : Ext.data.Store <div class="mdesc">
  349. The <a ext:cls="Ext.data.Store" href="output/Ext.data.Store.html">Ext.data.Store</a> to bind this DataView to. </div>
  350. </td>
  351. <td class="msource">DataView</td>
  352. </tr>
  353. <tr class="config-row inherited expandable">
  354. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  355. <td class="sig">
  356. <a id="Ext.DataView-style"></a>
  357. <b>style</b> : String <div class="mdesc">
  358. <div class="short">A custom style specification to be applied to this component's Element. Should be a valid argument to Ext.Element.app...</div>
  359. <div class="long">
  360. A custom style specification to be applied to this component's Element. Should be a valid argument to <a ext:cls="Ext.Element" ext:member="applyStyles" href="output/Ext.Element.html#applyStyles">Ext.Element.applyStyles</a>. </div>
  361. </div>
  362. </td>
  363. <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
  364. </tr>
  365. <tr class="config-row alt expandable">
  366. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  367. <td class="sig">
  368. <a id="Ext.DataView-tpl"></a>
  369. <b>tpl</b> : String/Array <div class="mdesc">
  370. <div class="short">The HTML fragment or an array of fragments that will make up the template used by this DataView. This should be speci...</div>
  371. <div class="long">
  372. The HTML fragment or an array of fragments that will make up the template used by this DataView. This should be specified in the same format expected by the constructor of <a ext:cls="Ext.XTemplate" href="output/Ext.XTemplate.html">Ext.XTemplate</a>. </div>
  373. </div>
  374. </td>
  375. <td class="msource">DataView</td>
  376. </tr>
  377. <tr class="config-row inherited">
  378. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  379. <td class="sig">
  380. <a id="Ext.DataView-width"></a>
  381. <b>width</b> : Number <div class="mdesc">
  382. The width of this component in pixels (defaults to auto). </div>
  383. </td>
  384. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#width" href="output/Ext.BoxComponent.html#width">BoxComponent</a></td>
  385. </tr>
  386. <tr class="config-row inherited alt expandable">
  387. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  388. <td class="sig">
  389. <a id="Ext.DataView-xtype"></a>
  390. <b>xtype</b> : String <div class="mdesc">
  391. <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>
  392. <div class="long">
  393. The registered xtype to create. This config option is not used when passing a config object into a constructor. This config option is used only when lazy instantiation is being used, and a child item of a Container is being specified not as a fully instantiated Component, but as a <i>Component config object</i>. The xtype will be looked up at render time up to determine what type of child Component to create.<br><br> The predefined xtypes are listed <a ext:cls="Ext.Component" href="output/Ext.Component.html">here</a>. <br><br> If you subclass Components to create your own Components, you may register them using <a ext:cls="Ext.ComponentMgr" ext:member="registerType" href="output/Ext.ComponentMgr.html#registerType">Ext.ComponentMgr.registerType</a> in order to be able to take advantage of lazy instantiation and rendering. </div>
  394. </div>
  395. </td>
  396. <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>
  397. </tr>
  398. </table>
  399. <a id="Ext.DataView-props"></a>
  400. <h2>Public Properties</h2>
  401. <table cellspacing="0" class="member-table">
  402. <tr>
  403. <th class="sig-header" colspan="2">Property</th>
  404. <th class="msource-header">Defined By</th>
  405. </tr>
  406. <tr class="property-row inherited">
  407. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  408. <td class="sig">
  409. <a id="Ext.DataView-disabled"></a>
  410. <b>disabled</b> : Boolean <div class="mdesc">
  411. True if this component is disabled. Read-only. </div>
  412. </td>
  413. <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
  414. </tr>
  415. <tr class="property-row inherited alt">
  416. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  417. <td class="sig">
  418. <a id="Ext.DataView-hidden"></a>
  419. <b>hidden</b> : Boolean <div class="mdesc">
  420. True if this component is hidden. Read-only. </div>
  421. </td>
  422. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
  423. </tr>
  424. <tr class="property-row inherited">
  425. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  426. <td class="sig">
  427. <a id="Ext.DataView-initialConfig"></a>
  428. <b>initialConfig</b> : Object <div class="mdesc">
  429. This Component's initial configuration specification. Read-only. </div>
  430. </td>
  431. <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>
  432. </tr>
  433. <tr class="property-row inherited alt expandable">
  434. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  435. <td class="sig">
  436. <a id="Ext.DataView-ownerCt"></a>
  437. <b>ownerCt</b> : Ext.Container <div class="mdesc">
  438. <div class="short">The component's owner Ext.Container (defaults to undefined, and is set automatically when
  439. the component is added to a...</div>
  440. <div class="long">
  441. The component's owner <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (defaults to undefined, and is set automatically when
  442. the component is added to a container). Read-only. </div>
  443. </div>
  444. </td>
  445. <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>
  446. </tr>
  447. <tr class="property-row inherited">
  448. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  449. <td class="sig">
  450. <a id="Ext.DataView-rendered"></a>
  451. <b>rendered</b> : Boolean <div class="mdesc">
  452. True if this component has been rendered. Read-only. </div>
  453. </td>
  454. <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>
  455. </tr>
  456. </table>
  457. <a id="Ext.DataView-methods"></a>
  458. <h2>Public Methods</h2>
  459. <table cellspacing="0" class="member-table">
  460. <tr>
  461. <th class="sig-header" colspan="2">Method</th>
  462. <th class="msource-header">Defined By</th>
  463. </tr>
  464. <tr class="method-row expandable">
  465. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  466. <td class="sig">
  467. <a id="Ext.DataView-DataView"></a>
  468. <b>DataView</b>(&nbsp;<code>Object config</code>&nbsp;) <div class="mdesc">
  469. <div class="short">Create a new DataView</div>
  470. <div class="long">
  471. Create a new DataView <div class="mdetail-params">
  472. <strong>Parameters:</strong>
  473. <ul><li><code>config</code> : Object<div class="sub-desc">The config object</div></li> </ul>
  474. <strong>Returns:</strong>
  475. <ul>
  476. <li><code></code></li>
  477. </ul>
  478. </div>
  479. </div>
  480. </div>
  481. </td>
  482. <td class="msource">DataView</td>
  483. </tr>
  484. <tr class="method-row inherited alt expandable">
  485. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  486. <td class="sig">
  487. <a id="Ext.DataView-addClass"></a>
  488. <b>addClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void <div class="mdesc">
  489. <div class="short">Adds a CSS class to the component's underlying element.</div>
  490. <div class="long">
  491. Adds a CSS class to the component's underlying element. <div class="mdetail-params">
  492. <strong>Parameters:</strong>
  493. <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to add</div></li> </ul>
  494. <strong>Returns:</strong>
  495. <ul>
  496. <li><code>void</code></li>
  497. </ul>
  498. </div>
  499. </div>
  500. </div>
  501. </td>
  502. <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>
  503. </tr>
  504. <tr class="method-row inherited expandable">
  505. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  506. <td class="sig">
  507. <a id="Ext.DataView-addEvents"></a>
  508. <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void <div class="mdesc">
  509. <div class="short">Used to define events on this Observable</div>
  510. <div class="long">
  511. Used to define events on this Observable <div class="mdetail-params">
  512. <strong>Parameters:</strong>
  513. <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li> </ul>
  514. <strong>Returns:</strong>
  515. <ul>
  516. <li><code>void</code></li>
  517. </ul>
  518. </div>
  519. </div>
  520. </div>
  521. </td>
  522. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
  523. </tr>
  524. <tr class="method-row inherited alt expandable">
  525. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  526. <td class="sig">
  527. <a id="Ext.DataView-addListener"></a>
  528. <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">
  529. <div class="short">Appends an event handler to this component</div>
  530. <div class="long">
  531. Appends an event handler to this component <div class="mdetail-params">
  532. <strong>Parameters:</strong>
  533. <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
  534. function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
  535. properties. This may contain any of the following properties:<ul>
  536. <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>
  537. <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>
  538. <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>
  539. <li>buffer {Number} 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
  540. by the specified number of milliseconds. If the event fires again within that time, the original
  541. handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>
  542. </ul><br>
  543. <p>
  544. <b>Combining Options</b><br>
  545. Using the options argument, it is possible to combine different types of listeners:<br>
  546. <br>
  547. A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
  548. <pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
  549. single: true,
  550. delay: 100,
  551. forumId: 4
  552. });</code></pre>
  553. <p>
  554. <b>Attaching multiple handlers in 1 call</b><br>
  555. The method also allows for a single argument to be passed which is a config object containing properties
  556. which specify multiple handlers.
  557. <p>
  558. <pre><code>foo.on({
  559. <em>'click'</em> : {
  560. fn: <b>this</b>.onClick,
  561. scope: <b>this</b>,
  562. delay: 100
  563. },
  564. <em>'mouseover'</em> : {
  565. fn: <b>this</b>.onMouseOver,
  566. scope: <b>this</b>
  567. },
  568. <em>'mouseout'</em> : {
  569. fn: <b>this</b>.onMouseOut,
  570. scope: <b>this</b>
  571. }
  572. });</code></pre>
  573. <p>
  574. Or a shorthand syntax:<br>
  575. <pre><code>foo.on({
  576. <em>'click'</em> : <b>this</b>.onClick,
  577. <em>'mouseover'</em> : <b>this</b>.onMouseOver,
  578. <em>'mouseout'</em> : <b>this</b>.onMouseOut,
  579. scope: <b>this</b>
  580. });</code></pre></div></li> </ul>
  581. <strong>Returns:</strong>
  582. <ul>
  583. <li><code>void</code></li>
  584. </ul>
  585. </div>
  586. </div>
  587. </div>
  588. </td>
  589. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
  590. </tr>
  591. <tr class="method-row inherited expandable">
  592. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  593. <td class="sig">
  594. <a id="Ext.DataView-applyToMarkup"></a>
  595. <b>applyToMarkup</b>(&nbsp;<code>String/HTMLElement el</code>&nbsp;) : void <div class="mdesc">
  596. <div class="short">Apply this component to existing markup that is valid. With this function, no call to render() is required.</div>
  597. <div class="long">
  598. Apply this component to existing markup that is valid. With this function, no call to render() is required. <div class="mdetail-params">
  599. <strong>Parameters:</strong>
  600. <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc"></div></li> </ul>
  601. <strong>Returns:</strong>
  602. <ul>
  603. <li><code>void</code></li>
  604. </ul>
  605. </div>
  606. </div>
  607. </div>
  608. </td>
  609. <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyToMarkup" href="output/Ext.Component.html#applyToMarkup">Component</a></td>
  610. </tr>
  611. <tr class="method-row alt expandable">
  612. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  613. <td class="sig">
  614. <a id="Ext.DataView-clearSelections"></a>
  615. <b>clearSelections</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean suppressEvent</code>]</span>&nbsp;) : void <div class="mdesc">
  616. <div class="short">Clears all selections.</div>
  617. <div class="long">
  618. Clears all selections. <div class="mdetail-params">
  619. <strong>Parameters:</strong>
  620. <ul><li><code>suppressEvent</code> : Boolean<div class="sub-desc">(optional) True to skip firing of the selectionchange event</div></li> </ul>
  621. <strong>Returns:</strong>
  622. <ul>
  623. <li><code>void</code></li>
  624. </ul>
  625. </div>
  626. </div>
  627. </div>
  628. </td>
  629. <td class="msource">DataView</td>
  630. </tr>
  631. <tr class="method-row inherited expandable">
  632. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  633. <td class="sig">
  634. <a id="Ext.DataView-cloneConfig"></a>
  635. <b>cloneConfig</b>(&nbsp;<code>Object overrides</code>&nbsp;) : Ext.Component <div class="mdesc">
  636. <div class="short">Clone the current component using the original config values passed into this instance by default.</div>
  637. <div class="long">
  638. Clone the current component using the original config values passed into this instance by default. <div class="mdetail-params">
  639. <strong>Parameters:</strong>
  640. <ul><li><code>overrides</code> : Object<div class="sub-desc">A new config containing any properties to override in the cloned version.
  641. An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</div></li> </ul>
  642. <strong>Returns:</strong>
  643. <ul>
  644. <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>
  645. </ul>
  646. </div>
  647. </div>
  648. </div>
  649. </td>
  650. <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>
  651. </tr>
  652. <tr class="method-row alt expandable">
  653. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  654. <td class="sig">
  655. <a id="Ext.DataView-deselect"></a>
  656. <b>deselect</b>(&nbsp;<code>HTMLElement/Number node</code>&nbsp;) : void <div class="mdesc">
  657. <div class="short">Deselects a node.</div>
  658. <div class="long">
  659. Deselects a node. <div class="mdetail-params">
  660. <strong>Parameters:</strong>
  661. <ul><li><code>node</code> : HTMLElement/Number<div class="sub-desc">The node to deselect</div></li> </ul>
  662. <strong>Returns:</strong>
  663. <ul>
  664. <li><code>void</code></li>
  665. </ul>
  666. </div>
  667. </div>
  668. </div>
  669. </td>
  670. <td class="msource">DataView</td>
  671. </tr>
  672. <tr class="method-row inherited expandable">
  673. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  674. <td class="sig">
  675. <a id="Ext.DataView-destroy"></a>
  676. <b>destroy</b>() : void <div class="mdesc">
  677. <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,
  678. removing the c...</div>
  679. <div class="long">
  680. Destroys this component by purging any event listeners, removing the component's element from the DOM,
  681. removing the component from its <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (if applicable) and unregistering it from
  682. <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>. Destruction is generally handled automatically by the framework and this method
  683. should usually not need to be called directly. <div class="mdetail-params">
  684. <strong>Parameters:</strong>
  685. <ul><li>None.</li> </ul>
  686. <strong>Returns:</strong>
  687. <ul>
  688. <li><code>void</code></li>
  689. </ul>
  690. </div>
  691. </div>
  692. </div>
  693. </td>
  694. <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>
  695. </tr>
  696. <tr class="method-row inherited alt expandable">
  697. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  698. <td class="sig">
  699. <a id="Ext.DataView-disable"></a>
  700. <b>disable</b>() : Ext.Component <div class="mdesc">
  701. <div class="short">Disable this component.</div>
  702. <div class="long">
  703. Disable this component. <div class="mdetail-params">
  704. <strong>Parameters:</strong>
  705. <ul><li>None.</li> </ul>
  706. <strong>Returns:</strong>
  707. <ul>
  708. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  709. </ul>
  710. </div>
  711. </div>
  712. </div>
  713. </td>
  714. <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>
  715. </tr>
  716. <tr class="method-row inherited expandable">
  717. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  718. <td class="sig">
  719. <a id="Ext.DataView-enable"></a>
  720. <b>enable</b>() : Ext.Component <div class="mdesc">
  721. <div class="short">Enable this component.</div>
  722. <div class="long">
  723. Enable this component. <div class="mdetail-params">
  724. <strong>Parameters:</strong>
  725. <ul><li>None.</li> </ul>
  726. <strong>Returns:</strong>
  727. <ul>
  728. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  729. </ul>
  730. </div>
  731. </div>
  732. </div>
  733. </td>
  734. <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>
  735. </tr>
  736. <tr class="method-row alt expandable">
  737. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  738. <td class="sig">
  739. <a id="Ext.DataView-findItemFromChild"></a>
  740. <b>findItemFromChild</b>(&nbsp;<code>HTMLElement node</code>&nbsp;) : HTMLElement <div class="mdesc">
  741. <div class="short">Returns the template node the passed child belongs to, or null if it doesn't belong to one.</div>
  742. <div class="long">
  743. Returns the template node the passed child belongs to, or null if it doesn't belong to one. <div class="mdetail-params">
  744. <strong>Parameters:</strong>
  745. <ul><li><code>node</code> : HTMLElement<div class="sub-desc"></div></li> </ul>
  746. <strong>Returns:</strong>
  747. <ul>
  748. <li><code>HTMLElement</code><div class="sub-desc">The template node</div></li>
  749. </ul>
  750. </div>
  751. </div>
  752. </div>
  753. </td>
  754. <td class="msource">DataView</td>
  755. </tr>
  756. <tr class="method-row inherited expandable">
  757. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  758. <td class="sig">
  759. <a id="Ext.DataView-fireEvent"></a>
  760. <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean <div class="mdesc">
  761. <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
  762. <div class="long">
  763. Fires the specified event with the passed parameters (minus the event name). <div class="mdetail-params">
  764. <strong>Parameters:</strong>
  765. <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>
  766. <strong>Returns:</strong>
  767. <ul>
  768. <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
  769. </ul>
  770. </div>
  771. </div>
  772. </div>
  773. </td>
  774. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
  775. </tr>
  776. <tr class="method-row inherited alt expandable">
  777. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  778. <td class="sig">
  779. <a id="Ext.DataView-focus"></a>
  780. <b>focus</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean selectText</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Number delay</code>]</span>&nbsp;) : Ext.Component <div class="mdesc">
  781. <div class="short">Try to focus this component.</div>
  782. <div class="long">
  783. Try to focus this component. <div class="mdetail-params">
  784. <strong>Parameters:</strong>
  785. <ul><li><code>selectText</code> : Boolean<div class="sub-desc">(optional) If applicable, true to also select the text in this component</div></li><li><code>delay</code> : Boolean/Number<div class="sub-desc">(optional) Delay the focus this number of milliseconds (true for 10 milliseconds)</div></li> </ul>
  786. <strong>Returns:</strong>
  787. <ul>
  788. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  789. </ul>
  790. </div>
  791. </div>
  792. </div>
  793. </td>
  794. <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>
  795. </tr>
  796. <tr class="method-row inherited expandable">
  797. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  798. <td class="sig">
  799. <a id="Ext.DataView-getBox"></a>
  800. <b>getBox</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Object <div class="mdesc">
  801. <div class="short">Gets the current box measurements of the component's underlying element.</div>
  802. <div class="long">
  803. Gets the current box measurements of the component's underlying element. <div class="mdetail-params">
  804. <strong>Parameters:</strong>
  805. <ul><li><code>local</code> : Boolean<div class="sub-desc">(optional) If true the element's left and top are returned instead of page XY (defaults to false)</div></li> </ul>
  806. <strong>Returns:</strong>
  807. <ul>
  808. <li><code>Object</code><div class="sub-desc">box An object in the format {x, y, width, height}</div></li>
  809. </ul>
  810. </div>
  811. </div>
  812. </div>
  813. </td>
  814. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getBox" href="output/Ext.BoxComponent.html#getBox">BoxComponent</a></td>
  815. </tr>
  816. <tr class="method-row inherited alt expandable">
  817. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  818. <td class="sig">
  819. <a id="Ext.DataView-getEl"></a>
  820. <b>getEl</b>() : Ext.Element <div class="mdesc">
  821. <div class="short">Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>
  822. <div class="long">
  823. Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>. <div class="mdetail-params">
  824. <strong>Parameters:</strong>
  825. <ul><li>None.</li> </ul>
  826. <strong>Returns:</strong>
  827. <ul>
  828. <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>
  829. </ul>
  830. </div>
  831. </div>
  832. </div>
  833. </td>
  834. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>
  835. </tr>
  836. <tr class="method-row inherited expandable">
  837. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  838. <td class="sig">
  839. <a id="Ext.DataView-getId"></a>
  840. <b>getId</b>() : String <div class="mdesc">
  841. <div class="short">Returns the id of this component.</div>
  842. <div class="long">
  843. Returns the id of this component. <div class="mdetail-params">
  844. <strong>Parameters:</strong>
  845. <ul><li>None.</li> </ul>
  846. <strong>Returns:</strong>
  847. <ul>
  848. <li><code>String</code></li>
  849. </ul>
  850. </div>
  851. </div>
  852. </div>
  853. </td>
  854. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>
  855. </tr>
  856. <tr class="method-row inherited alt expandable">
  857. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  858. <td class="sig">
  859. <a id="Ext.DataView-getItemId"></a>
  860. <b>getItemId</b>() : String <div class="mdesc">
  861. <div class="short">Returns the item id of this component.</div>
  862. <div class="long">
  863. Returns the item id of this component. <div class="mdetail-params">
  864. <strong>Parameters:</strong>
  865. <ul><li>None.</li> </ul>
  866. <strong>Returns:</strong>
  867. <ul>
  868. <li><code>String</code></li>
  869. </ul>
  870. </div>
  871. </div>
  872. </div>
  873. </td>
  874. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>
  875. </tr>
  876. <tr class="method-row expandable">
  877. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  878. <td class="sig">
  879. <a id="Ext.DataView-getNode"></a>
  880. <b>getNode</b>(&nbsp;<code>HTMLElement/String/Number nodeInfo</code>&nbsp;) : HTMLElement <div class="mdesc">
  881. <div class="short">Gets a template node.</div>
  882. <div class="long">
  883. Gets a template node. <div class="mdetail-params">
  884. <strong>Parameters:</strong>
  885. <ul><li><code>nodeInfo</code> : HTMLElement/String/Number<div class="sub-desc">An HTMLElement template node, index of a template node or the id of a template node</div></li> </ul>
  886. <strong>Returns:</strong>
  887. <ul>
  888. <li><code>HTMLElement</code><div class="sub-desc">The node or null if it wasn't found</div></li>
  889. </ul>
  890. </div>
  891. </div>
  892. </div>
  893. </td>
  894. <td class="msource">DataView</td>
  895. </tr>
  896. <tr class="method-row alt expandable">
  897. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  898. <td class="sig">
  899. <a id="Ext.DataView-getNodes"></a>
  900. <b>getNodes</b>(&nbsp;<code>Number start</code>, <code>Number end</code>&nbsp;) : Array <div class="mdesc">
  901. <div class="short">Gets a range nodes.</div>
  902. <div class="long">
  903. Gets a range nodes. <div class="mdetail-params">
  904. <strong>Parameters:</strong>
  905. <ul><li><code>start</code> : Number<div class="sub-desc">The index of the first node in the range</div></li><li><code>end</code> : Number<div class="sub-desc">The index of the last node in the range</div></li> </ul>
  906. <strong>Returns:</strong>
  907. <ul>
  908. <li><code>Array</code><div class="sub-desc">An array of nodes</div></li>
  909. </ul>
  910. </div>
  911. </div>
  912. </div>
  913. </td>
  914. <td class="msource">DataView</td>
  915. </tr>
  916. <tr class="method-row inherited expandable">
  917. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  918. <td class="sig">
  919. <a id="Ext.DataView-getPosition"></a>
  920. <b>getPosition</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Array <div class="mdesc">
  921. <div class="short">Gets the current XY position of the component's underlying element.</div>
  922. <div class="long">
  923. Gets the current XY position of the component's underlying element. <div class="mdetail-params">
  924. <strong>Parameters:</strong>
  925. <ul><li><code>local</code> : Boolean<div class="sub-desc">(optional) If true the element's left and top are returned instead of page XY (defaults to false)</div></li> </ul>
  926. <strong>Returns:</strong>
  927. <ul>
  928. <li><code>Array</code><div class="sub-desc">The XY position of the element (e.g., [100, 200])</div></li>
  929. </ul>
  930. </div>
  931. </div>
  932. </div>
  933. </td>
  934. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getPosition" href="output/Ext.BoxComponent.html#getPosition">BoxComponent</a></td>
  935. </tr>
  936. <tr class="method-row alt expandable">
  937. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  938. <td class="sig">
  939. <a id="Ext.DataView-getRecord"></a>
  940. <b>getRecord</b>(&nbsp;<code>HTMLElement node</code>&nbsp;) : Record <div class="mdesc">
  941. <div class="short">Gets a record from a node</div>
  942. <div class="long">
  943. Gets a record from a node <div class="mdetail-params">
  944. <strong>Parameters:</strong>
  945. <ul><li><code>node</code> : HTMLElement<div class="sub-desc">The node to evaluate</div></li> </ul>
  946. <strong>Returns:</strong>
  947. <ul>
  948. <li><code>Record</code><div class="sub-desc">record The {@link Ext.data.Record} object</div></li>
  949. </ul>
  950. </div>
  951. </div>
  952. </div>
  953. </td>
  954. <td class="msource">DataView</td>
  955. </tr>
  956. <tr class="method-row expandable">
  957. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  958. <td class="sig">
  959. <a id="Ext.DataView-getRecords"></a>
  960. <b>getRecords</b>(&nbsp;<code>Array nodes</code>&nbsp;) : Array <div class="mdesc">
  961. <div class="short">Gets an array of the records from an array of nodes</div>
  962. <div class="long">
  963. Gets an array of the records from an array of nodes <div class="mdetail-params">
  964. <strong>Parameters:</strong>
  965. <ul><li><code>nodes</code> : Array<div class="sub-desc">The nodes to evaluate</div></li> </ul>
  966. <strong>Returns:</strong>
  967. <ul>
  968. <li><code>Array</code><div class="sub-desc">records The {@link Ext.data.Record} objects</div></li>
  969. </ul>
  970. </div>
  971. </div>
  972. </div>
  973. </td>
  974. <td class="msource">DataView</td>
  975. </tr>
  976. <tr class="method-row alt expandable">
  977. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  978. <td class="sig">
  979. <a id="Ext.DataView-getSelectedIndexes"></a>
  980. <b>getSelectedIndexes</b>() : Array <div class="mdesc">
  981. <div class="short">Gets the indexes of the selected nodes.</div>
  982. <div class="long">
  983. Gets the indexes of the selected nodes. <div class="mdetail-params">
  984. <strong>Parameters:</strong>
  985. <ul><li>None.</li> </ul>
  986. <strong>Returns:</strong>
  987. <ul>
  988. <li><code>Array</code><div class="sub-desc">An array of numeric indexes</div></li>
  989. </ul>
  990. </div>
  991. </div>
  992. </div>
  993. </td>
  994. <td class="msource">DataView</td>
  995. </tr>
  996. <tr class="method-row expandable">
  997. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  998. <td class="sig">
  999. <a id="Ext.DataView-getSelectedNodes"></a>
  1000. <b>getSelectedNodes</b>() : Array <div class="mdesc">
  1001. <div class="short">Gets the currently selected nodes.</div>
  1002. <div class="long">
  1003. Gets the currently selected nodes. <div class="mdetail-params">
  1004. <strong>Parameters:</strong>
  1005. <ul><li>None.</li> </ul>
  1006. <strong>Returns:</strong>
  1007. <ul>
  1008. <li><code>Array</code><div class="sub-desc">An array of HTMLElements</div></li>
  1009. </ul>
  1010. </div>
  1011. </div>
  1012. </div>
  1013. </td>
  1014. <td class="msource">DataView</td>
  1015. </tr>
  1016. <tr class="method-row alt expandable">
  1017. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1018. <td class="sig">
  1019. <a id="Ext.DataView-getSelectedRecords"></a>
  1020. <b>getSelectedRecords</b>() : Array <div class="mdesc">
  1021. <div class="short">Gets an array of the selected records</div>
  1022. <div class="long">
  1023. Gets an array of the selected records <div class="mdetail-params">
  1024. <strong>Parameters:</strong>
  1025. <ul><li>None.</li> </ul>
  1026. <strong>Returns:</strong>
  1027. <ul>
  1028. <li><code>Array</code><div class="sub-desc">An array of {@link Ext.data.Record} objects</div></li>
  1029. </ul>
  1030. </div>
  1031. </div>
  1032. </div>
  1033. </td>
  1034. <td class="msource">DataView</td>
  1035. </tr>
  1036. <tr class="method-row expandable">
  1037. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1038. <td class="sig">
  1039. <a id="Ext.DataView-getSelectionCount"></a>
  1040. <b>getSelectionCount</b>() : Number <div class="mdesc">
  1041. <div class="short">Gets the number of selected nodes.</div>
  1042. <div class="long">
  1043. Gets the number of selected nodes. <div class="mdetail-params">
  1044. <strong>Parameters:</strong>
  1045. <ul><li>None.</li> </ul>
  1046. <strong>Returns:</strong>
  1047. <ul>
  1048. <li><code>Number</code><div class="sub-desc">The node count</div></li>
  1049. </ul>
  1050. </div>
  1051. </div>
  1052. </div>
  1053. </td>
  1054. <td class="msource">DataView</td>
  1055. </tr>
  1056. <tr class="method-row inherited alt expandable">
  1057. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1058. <td class="sig">
  1059. <a id="Ext.DataView-getSize"></a>
  1060. <b>getSize</b>() : Object <div class="mdesc">
  1061. <div class="short">Gets the current size of the component's underlying element.</div>
  1062. <div class="long">
  1063. Gets the current size of the component's underlying element. <div class="mdetail-params">
  1064. <strong>Parameters:</strong>
  1065. <ul><li>None.</li> </ul>
  1066. <strong>Returns:</strong>
  1067. <ul>
  1068. <li><code>Object</code><div class="sub-desc">An object containing the element's size {width: (element width), height: (element height)}</div></li>
  1069. </ul>
  1070. </div>
  1071. </div>
  1072. </div>
  1073. </td>
  1074. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getSize" href="output/Ext.BoxComponent.html#getSize">BoxComponent</a></td>
  1075. </tr>
  1076. <tr class="method-row inherited expandable">
  1077. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1078. <td class="sig">
  1079. <a id="Ext.DataView-getXType"></a>
  1080. <b>getXType</b>() : String <div class="mdesc">
  1081. <div class="short">Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
  1082. available xtypes, see the Ex...</div>
  1083. <div class="long">
  1084. Gets the xtype for this component as registered with <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>. For a list of all
  1085. available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
  1086. <pre><code>var t = <b>new</b> Ext.form.TextField();
  1087. alert(t.getXType()); // alerts <em>'textfield'</em></code></pre> <div class="mdetail-params">
  1088. <strong>Parameters:</strong>
  1089. <ul><li>None.</li> </ul>
  1090. <strong>Returns:</strong>
  1091. <ul>
  1092. <li><code>String</code><div class="sub-desc">The xtype</div></li>
  1093. </ul>
  1094. </div>
  1095. </div>
  1096. </div>
  1097. </td>
  1098. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>
  1099. </tr>
  1100. <tr class="method-row inherited alt expandable">
  1101. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1102. <td class="sig">
  1103. <a id="Ext.DataView-getXTypes"></a>
  1104. <b>getXTypes</b>() : String <div class="mdesc">
  1105. <div class="short">Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
  1106. available xtypes, see the Ext...</div>
  1107. <div class="long">
  1108. Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
  1109. available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
  1110. <pre><code>
  1111. var t = new Ext.form.TextField();
  1112. alert(t.getXTypes()); // alerts 'component/box/field/textfield'</pre></code> <div class="mdetail-params">
  1113. <strong>Parameters:</strong>
  1114. <ul><li>None.</li> </ul>
  1115. <strong>Returns:</strong>
  1116. <ul>
  1117. <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>
  1118. </ul>
  1119. </div>
  1120. </div>
  1121. </div>
  1122. </td>
  1123. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>
  1124. </tr>
  1125. <tr class="method-row inherited expandable">
  1126. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1127. <td class="sig">
  1128. <a id="Ext.DataView-hasListener"></a>
  1129. <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean <div class="mdesc">
  1130. <div class="short">Checks to see if this object has any listeners for a specified event</div>
  1131. <div class="long">
  1132. Checks to see if this object has any listeners for a specified event <div class="mdetail-params">
  1133. <strong>Parameters:</strong>
  1134. <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li> </ul>
  1135. <strong>Returns:</strong>
  1136. <ul>
  1137. <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
  1138. </ul>
  1139. </div>
  1140. </div>
  1141. </div>
  1142. </td>
  1143. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
  1144. </tr>
  1145. <tr class="method-row inherited alt expandable">
  1146. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1147. <td class="sig">
  1148. <a id="Ext.DataView-hide"></a>
  1149. <b>hide</b>() : Ext.Component <div class="mdesc">
  1150. <div class="short">Hide this component.</div>
  1151. <div class="long">
  1152. Hide this component. <div class="mdetail-params">
  1153. <strong>Parameters:</strong>
  1154. <ul><li>None.</li> </ul>
  1155. <strong>Returns:</strong>
  1156. <ul>
  1157. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  1158. </ul>
  1159. </div>
  1160. </div>
  1161. </div>
  1162. </td>
  1163. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>
  1164. </tr>
  1165. <tr class="method-row expandable">
  1166. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1167. <td class="sig">
  1168. <a id="Ext.DataView-indexOf"></a>
  1169. <b>indexOf</b>(&nbsp;<code>HTMLElement/String/Number nodeInfo</code>&nbsp;) : Number <div class="mdesc">
  1170. <div class="short">Finds the index of the passed node.</div>
  1171. <div class="long">
  1172. Finds the index of the passed node. <div class="mdetail-params">
  1173. <strong>Parameters:</strong>
  1174. <ul><li><code>nodeInfo</code> : HTMLElement/String/Number<div class="sub-desc">An HTMLElement template node, index of a template node or the id of a template node</div></li> </ul>
  1175. <strong>Returns:</strong>
  1176. <ul>
  1177. <li><code>Number</code><div class="sub-desc">The index of the node or -1</div></li>
  1178. </ul>
  1179. </div>
  1180. </div>
  1181. </div>
  1182. </td>
  1183. <td class="msource">DataView</td>
  1184. </tr>
  1185. <tr class="method-row inherited alt expandable">
  1186. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1187. <td class="sig">
  1188. <a id="Ext.DataView-initComponent"></a>
  1189. <b>initComponent</b>() : void <div class="mdesc">
  1190. <div class="short"></div>
  1191. <div class="long">
  1192. <div class="mdetail-params">
  1193. <strong>Parameters:</strong>
  1194. <ul><li>None.</li> </ul>
  1195. <strong>Returns:</strong>
  1196. <ul>
  1197. <li><code>void</code></li>
  1198. </ul>
  1199. </div>
  1200. </div>
  1201. </div>
  1202. </td>
  1203. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#initComponent" href="output/Ext.BoxComponent.html#initComponent">BoxComponent</a></td>
  1204. </tr>
  1205. <tr class="method-row expandable">
  1206. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1207. <td class="sig">
  1208. <a id="Ext.DataView-isSelected"></a>
  1209. <b>isSelected</b>(&nbsp;<code>HTMLElement/Number node</code>&nbsp;) : Boolean <div class="mdesc">
  1210. <div class="short">Returns true if the passed node is selected, else false.</div>
  1211. <div class="long">
  1212. Returns true if the passed node is selected, else false. <div class="mdetail-params">
  1213. <strong>Parameters:</strong>
  1214. <ul><li><code>node</code> : HTMLElement/Number<div class="sub-desc">The node or node index to check</div></li> </ul>
  1215. <strong>Returns:</strong>
  1216. <ul>
  1217. <li><code>Boolean</code><div class="sub-desc">True if selected, else false</div></li>
  1218. </ul>
  1219. </div>
  1220. </div>
  1221. </div>
  1222. </td>
  1223. <td class="msource">DataView</td>
  1224. </tr>
  1225. <tr class="method-row inherited alt expandable">
  1226. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1227. <td class="sig">
  1228. <a id="Ext.DataView-isVisible"></a>
  1229. <b>isVisible</b>() : void <div class="mdesc">
  1230. <div class="short">Returns true if this component is visible.</div>
  1231. <div class="long">
  1232. Returns true if this component is visible. <div class="mdetail-params">
  1233. <strong>Parameters:</strong>
  1234. <ul><li>None.</li> </ul>
  1235. <strong>Returns:</strong>
  1236. <ul>
  1237. <li><code>void</code></li>
  1238. </ul>
  1239. </div>
  1240. </div>
  1241. </div>
  1242. </td>
  1243. <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>
  1244. </tr>
  1245. <tr class="method-row inherited expandable">
  1246. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1247. <td class="sig">
  1248. <a id="Ext.DataView-isXType"></a>
  1249. <b>isXType</b>(&nbsp;<code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span>&nbsp;) : void <div class="mdesc">
  1250. <div class="short">Tests whether or not this component is of a specific xtype. This can test whether this component is descended
  1251. from th...</div>
  1252. <div class="long">
  1253. Tests whether or not this component is of a specific xtype. This can test whether this component is descended
  1254. from the xtype (default) or whether it is directly of the xtype specified (shallow = true). For a list of all
  1255. available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
  1256. <pre><code>var t = <b>new</b> Ext.form.TextField();
  1257. <b>var</b> isText = t.isXType(<em>'textfield'</em>); <i>// true</i>
  1258. <b>var</b> isBoxSubclass = t.isXType(<em>'box'</em>); <i>// true, descended from BoxComponent</i>
  1259. <b>var</b> isBoxInstance = t.isXType(<em>'box'</em>, true); // false, not a direct BoxComponent instance</code></pre> <div class="mdetail-params">
  1260. <strong>Parameters:</strong>
  1261. <ul><li><code>xtype</code> : String<div class="sub-desc">The xtype to check for this component</div></li><li><code>shallow</code> : Boolean<div class="sub-desc">(optional) False to check whether this component is descended from the xtype (this is
  1262. the default), or true to check whether this component is directly of the specified xtype.</div></li> </ul>
  1263. <strong>Returns:</strong>
  1264. <ul>
  1265. <li><code>void</code></li>
  1266. </ul>
  1267. </div>
  1268. </div>
  1269. </div>
  1270. </td>
  1271. <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>
  1272. </tr>
  1273. <tr class="method-row inherited alt expandable">
  1274. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1275. <td class="sig">
  1276. <a id="Ext.DataView-on"></a>
  1277. <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">
  1278. <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
  1279. <div class="long">
  1280. Appends an event handler to this element (shorthand for addListener) <div class="mdetail-params">
  1281. <strong>Parameters:</strong>
  1282. <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
  1283. function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li> </ul>
  1284. <strong>Returns:</strong>
  1285. <ul>
  1286. <li><code>void</code></li>
  1287. </ul>
  1288. </div>
  1289. </div>
  1290. </div>
  1291. </td>
  1292. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
  1293. </tr>
  1294. <tr class="method-row expandable">
  1295. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1296. <td class="sig">
  1297. <a id="Ext.DataView-prepareData"></a>
  1298. <b>prepareData</b>(&nbsp;<code>Array/Object data</code>&nbsp;) : void <div class="mdesc">
  1299. <div class="short">Function that can be overridden to provide custom formatting for the data that is sent to the template for each node.</div>
  1300. <div class="long">
  1301. Function that can be overridden to provide custom formatting for the data that is sent to the template for each node. <div class="mdetail-params">
  1302. <strong>Parameters:</strong>
  1303. <ul><li><code>data</code> : Array/Object<div class="sub-desc">The raw data (array of colData for a data model bound view or
  1304. a JSON object for an Updater bound view).</div></li> </ul>
  1305. <strong>Returns:</strong>
  1306. <ul>
  1307. <li><code>void</code></li>
  1308. </ul>
  1309. </div>
  1310. </div>
  1311. </div>
  1312. </td>
  1313. <td class="msource">DataView</td>
  1314. </tr>
  1315. <tr class="method-row inherited alt expandable">
  1316. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1317. <td class="sig">
  1318. <a id="Ext.DataView-purgeListeners"></a>
  1319. <b>purgeListeners</b>() : void <div class="mdesc">
  1320. <div class="short">Removes all listeners for this object</div>
  1321. <div class="long">
  1322. Removes all listeners for this object <div class="mdetail-params">
  1323. <strong>Parameters:</strong>
  1324. <ul><li>None.</li> </ul>
  1325. <strong>Returns:</strong>
  1326. <ul>
  1327. <li><code>void</code></li>
  1328. </ul>
  1329. </div>
  1330. </div>
  1331. </div>
  1332. </td>
  1333. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
  1334. </tr>
  1335. <tr class="method-row expandable">
  1336. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1337. <td class="sig">
  1338. <a id="Ext.DataView-refresh"></a>
  1339. <b>refresh</b>() : void <div class="mdesc">
  1340. <div class="short">Refreshes the view by reloading the data from the store and re-rendering the template.</div>
  1341. <div class="long">
  1342. Refreshes the view by reloading the data from the store and re-rendering the template. <div class="mdetail-params">
  1343. <strong>Parameters:</strong>
  1344. <ul><li>None.</li> </ul>
  1345. <strong>Returns:</strong>
  1346. <ul>
  1347. <li><code>void</code></li>
  1348. </ul>
  1349. </div>
  1350. </div>
  1351. </div>
  1352. </td>
  1353. <td class="msource">DataView</td>
  1354. </tr>
  1355. <tr class="method-row alt expandable">
  1356. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1357. <td class="sig">
  1358. <a id="Ext.DataView-refreshNode"></a>
  1359. <b>refreshNode</b>(&nbsp;<code>Number index</code>&nbsp;) : void <div class="mdesc">
  1360. <div class="short">Refreshes an individual node's data from the store.</div>
  1361. <div class="long">
  1362. Refreshes an individual node's data from the store. <div class="mdetail-params">
  1363. <strong>Parameters:</strong>
  1364. <ul><li><code>index</code> : Number<div class="sub-desc">The item's data index in the store</div></li> </ul>
  1365. <strong>Returns:</strong>
  1366. <ul>
  1367. <li><code>void</code></li>
  1368. </ul>
  1369. </div>
  1370. </div>
  1371. </div>
  1372. </td>
  1373. <td class="msource">DataView</td>
  1374. </tr>
  1375. <tr class="method-row inherited expandable">
  1376. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1377. <td class="sig">
  1378. <a id="Ext.DataView-removeClass"></a>
  1379. <b>removeClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void <div class="mdesc">
  1380. <div class="short">Removes a CSS class from the component's underlying element.</div>
  1381. <div class="long">
  1382. Removes a CSS class from the component's underlying element. <div class="mdetail-params">
  1383. <strong>Parameters:</strong>
  1384. <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to remove</div></li> </ul>
  1385. <strong>Returns:</strong>
  1386. <ul>
  1387. <li><code>void</code></li>
  1388. </ul>
  1389. </div>
  1390. </div>
  1391. </div>
  1392. </td>
  1393. <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>
  1394. </tr>
  1395. <tr class="method-row inherited alt expandable">
  1396. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1397. <td class="sig">
  1398. <a id="Ext.DataView-removeListener"></a>
  1399. <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">
  1400. <div class="short">Removes a listener</div>
  1401. <div class="long">
  1402. Removes a listener <div class="mdetail-params">
  1403. <strong>Parameters:</strong>
  1404. <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>
  1405. <strong>Returns:</strong>
  1406. <ul>
  1407. <li><code>void</code></li>
  1408. </ul>
  1409. </div>
  1410. </div>
  1411. </div>
  1412. </td>
  1413. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
  1414. </tr>
  1415. <tr class="method-row inherited expandable">
  1416. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1417. <td class="sig">
  1418. <a id="Ext.DataView-render"></a>
  1419. <b>render</b>(&nbsp;<span class="optional" title="Optional">[<code>Mixed container</code>]</span>, <span class="optional" title="Optional">[<code>String/Number position</code>]</span>&nbsp;) : void <div class="mdesc">
  1420. <div class="short">If this is a lazy rendering component, render it to its container element.</div>
  1421. <div class="long">
  1422. If this is a lazy rendering component, render it to its container element. <div class="mdetail-params">
  1423. <strong>Parameters:</strong>
  1424. <ul><li><code>container</code> : Mixed<div class="sub-desc">(optional) The element this component should be rendered into. If it is being
  1425. applied to existing markup, this should be left off.</div></li><li><code>position</code> : String/Number<div class="sub-desc">(optional) The element ID or DOM node index within the container <b>before</b>
  1426. which this component will be inserted (defaults to appending to the end of the container)</div></li> </ul>
  1427. <strong>Returns:</strong>
  1428. <ul>
  1429. <li><code>void</code></li>
  1430. </ul>
  1431. </div>
  1432. </div>
  1433. </div>
  1434. </td>
  1435. <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>
  1436. </tr>
  1437. <tr class="method-row inherited alt expandable">
  1438. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1439. <td class="sig">
  1440. <a id="Ext.DataView-resumeEvents"></a>
  1441. <b>resumeEvents</b>() : void <div class="mdesc">
  1442. <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>
  1443. <div class="long">
  1444. 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">
  1445. <strong>Parameters:</strong>
  1446. <ul><li>None.</li> </ul>
  1447. <strong>Returns:</strong>
  1448. <ul>
  1449. <li><code>void</code></li>
  1450. </ul>
  1451. </div>
  1452. </div>
  1453. </div>
  1454. </td>
  1455. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
  1456. </tr>
  1457. <tr class="method-row expandable">
  1458. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1459. <td class="sig">
  1460. <a id="Ext.DataView-select"></a>
  1461. <b>select</b>(&nbsp;<code>Array/HTMLElement/String/Number nodeInfo</code>, <span class="optional" title="Optional">[<code>Boolean keepExisting</code>]</span>, <span class="optional" title="Optional">[<code>Boolean suppressEvent</code>]</span>&nbsp;) : void <div class="mdesc">
  1462. <div class="short">Selects a set of nodes.</div>
  1463. <div class="long">
  1464. Selects a set of nodes. <div class="mdetail-params">
  1465. <strong>Parameters:</strong>
  1466. <ul><li><code>nodeInfo</code> : Array/HTMLElement/String/Number<div class="sub-desc">An HTMLElement template node, index of a template node,
  1467. id of a template node or an array of any of those to select</div></li><li><code>keepExisting</code> : Boolean<div class="sub-desc">(optional) true to keep existing selections</div></li><li><code>suppressEvent</code> : Boolean<div class="sub-desc">(optional) true to skip firing of the selectionchange vent</div></li> </ul>
  1468. <strong>Returns:</strong>
  1469. <ul>
  1470. <li><code>void</code></li>
  1471. </ul>
  1472. </div>
  1473. </div>
  1474. </div>
  1475. </td>
  1476. <td class="msource">DataView</td>
  1477. </tr>
  1478. <tr class="method-row alt expandable">
  1479. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1480. <td class="sig">
  1481. <a id="Ext.DataView-selectRange"></a>
  1482. <b>selectRange</b>(&nbsp;<code>Number start</code>, <code>Number end</code>, <span class="optional" title="Optional">[<code>Boolean keepExisting</code>]</span>&nbsp;) : void <div class="mdesc">
  1483. <div class="short">Selects a range of nodes. All nodes between start and end are selected.</div>
  1484. <div class="long">
  1485. Selects a range of nodes. All nodes between start and end are selected. <div class="mdetail-params">
  1486. <strong>Parameters:</strong>
  1487. <ul><li><code>start</code> : Number<div class="sub-desc">The index of the first node in the range</div></li><li><code>end</code> : Number<div class="sub-desc">The index of the last node in the range</div></li><li><code>keepExisting</code> : Boolean<div class="sub-desc">(optional) True to retain existing selections</div></li> </ul>
  1488. <strong>Returns:</strong>
  1489. <ul>
  1490. <li><code>void</code></li>
  1491. </ul>
  1492. </div>
  1493. </div>
  1494. </div>
  1495. </td>
  1496. <td class="msource">DataView</td>
  1497. </tr>
  1498. <tr class="method-row inherited expandable">
  1499. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1500. <td class="sig">
  1501. <a id="Ext.DataView-setDisabled"></a>
  1502. <b>setDisabled</b>(&nbsp;<code>Boolean disabled</code>&nbsp;) : void <div class="mdesc">
  1503. <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
  1504. <div class="long">
  1505. Convenience function for setting disabled/enabled by boolean. <div class="mdetail-params">
  1506. <strong>Parameters:</strong>
  1507. <ul><li><code>disabled</code> : Boolean<div class="sub-desc"></div></li> </ul>
  1508. <strong>Returns:</strong>
  1509. <ul>
  1510. <li><code>void</code></li>
  1511. </ul>
  1512. </div>
  1513. </div>
  1514. </div>
  1515. </td>
  1516. <td class="msource"><a ext:cls="Ext.Component" ext:member="#setDisabled" href="output/Ext.Component.html#setDisabled">Component</a></td>
  1517. </tr>
  1518. <tr class="method-row inherited alt expandable">
  1519. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1520. <td class="sig">
  1521. <a id="Ext.DataView-setHeight"></a>
  1522. <b>setHeight</b>(&nbsp;<code>Number height</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  1523. <div class="short">Sets the height of the component. This method fires the resize event.</div>
  1524. <div class="long">
  1525. Sets the height of the component. This method fires the resize event. <div class="mdetail-params">
  1526. <strong>Parameters:</strong>
  1527. <ul><li><code>height</code> : Number<div class="sub-desc">The new height to set</div></li> </ul>
  1528. <strong>Returns:</strong>
  1529. <ul>
  1530. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  1531. </ul>
  1532. </div>
  1533. </div>
  1534. </div>
  1535. </td>
  1536. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setHeight" href="output/Ext.BoxComponent.html#setHeight">BoxComponent</a></td>
  1537. </tr>
  1538. <tr class="method-row inherited expandable">
  1539. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1540. <td class="sig">
  1541. <a id="Ext.DataView-setPagePosition"></a>
  1542. <b>setPagePosition</b>(&nbsp;<code>Number x</code>, <code>Number y</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  1543. <div class="short">Sets the page XY position of the component. To set the left and top instead, use setPosition.
  1544. This method fires the ...</div>
  1545. <div class="long">
  1546. Sets the page XY position of the component. To set the left and top instead, use <a ext:cls="Ext.BoxComponent" ext:member="setPosition" href="output/Ext.BoxComponent.html#setPosition">setPosition</a>.
  1547. This method fires the move event. <div class="mdetail-params">
  1548. <strong>Parameters:</strong>
  1549. <ul><li><code>x</code> : Number<div class="sub-desc">The new x position</div></li><li><code>y</code> : Number<div class="sub-desc">The new y position</div></li> </ul>
  1550. <strong>Returns:</strong>
  1551. <ul>
  1552. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  1553. </ul>
  1554. </div>
  1555. </div>
  1556. </div>
  1557. </td>
  1558. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPagePosition" href="output/Ext.BoxComponent.html#setPagePosition">BoxComponent</a></td>
  1559. </tr>
  1560. <tr class="method-row inherited alt expandable">
  1561. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1562. <td class="sig">
  1563. <a id="Ext.DataView-setPosition"></a>
  1564. <b>setPosition</b>(&nbsp;<code>Number left</code>, <code>Number top</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  1565. <div class="short">Sets the left and top of the component. To set the page XY position instead, use setPagePosition.
  1566. This method fires ...</div>
  1567. <div class="long">
  1568. Sets the left and top of the component. To set the page XY position instead, use <a ext:cls="Ext.BoxComponent" ext:member="setPagePosition" href="output/Ext.BoxComponent.html#setPagePosition">setPagePosition</a>.
  1569. This method fires the move event. <div class="mdetail-params">
  1570. <strong>Parameters:</strong>
  1571. <ul><li><code>left</code> : Number<div class="sub-desc">The new left</div></li><li><code>top</code> : Number<div class="sub-desc">The new top</div></li> </ul>
  1572. <strong>Returns:</strong>
  1573. <ul>
  1574. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  1575. </ul>
  1576. </div>
  1577. </div>
  1578. </div>
  1579. </td>
  1580. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPosition" href="output/Ext.BoxComponent.html#setPosition">BoxComponent</a></td>
  1581. </tr>
  1582. <tr class="method-row inherited expandable">
  1583. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1584. <td class="sig">
  1585. <a id="Ext.DataView-setSize"></a>
  1586. <b>setSize</b>(&nbsp;<code>Number/Object width</code>, <code>Number height</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  1587. <div class="short">Sets the width and height of the component. This method fires the resize event. This method can accept
  1588. either width...</div>
  1589. <div class="long">
  1590. Sets the width and height of the component. This method fires the resize event. This method can accept
  1591. either width and height as separate numeric arguments, or you can pass a size object like {width:10, height:20}. <div class="mdetail-params">
  1592. <strong>Parameters:</strong>
  1593. <ul><li><code>width</code> : Number/Object<div class="sub-desc">The new width to set, or a size object in the format {width, height}</div></li><li><code>height</code> : Number<div class="sub-desc">The new height to set (not required if a size object is passed as the first arg)</div></li> </ul>
  1594. <strong>Returns:</strong>
  1595. <ul>
  1596. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  1597. </ul>
  1598. </div>
  1599. </div>
  1600. </div>
  1601. </td>
  1602. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setSize" href="output/Ext.BoxComponent.html#setSize">BoxComponent</a></td>
  1603. </tr>
  1604. <tr class="method-row alt expandable">
  1605. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1606. <td class="sig">
  1607. <a id="Ext.DataView-setStore"></a>
  1608. <b>setStore</b>(&nbsp;<code>Store store</code>&nbsp;) : void <div class="mdesc">
  1609. <div class="short">Changes the data store bound to this view and refreshes it.</div>
  1610. <div class="long">
  1611. Changes the data store bound to this view and refreshes it. <div class="mdetail-params">
  1612. <strong>Parameters:</strong>
  1613. <ul><li><code>store</code> : Store<div class="sub-desc">The store to bind to this view</div></li> </ul>
  1614. <strong>Returns:</strong>
  1615. <ul>
  1616. <li><code>void</code></li>
  1617. </ul>
  1618. </div>
  1619. </div>
  1620. </div>
  1621. </td>
  1622. <td class="msource">DataView</td>
  1623. </tr>
  1624. <tr class="method-row inherited expandable">
  1625. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1626. <td class="sig">
  1627. <a id="Ext.DataView-setVisible"></a>
  1628. <b>setVisible</b>(&nbsp;<code>Boolean visible</code>&nbsp;) : Ext.Component <div class="mdesc">
  1629. <div class="short">Convenience function to hide or show this component by boolean.</div>
  1630. <div class="long">
  1631. Convenience function to hide or show this component by boolean. <div class="mdetail-params">
  1632. <strong>Parameters:</strong>
  1633. <ul><li><code>visible</code> : Boolean<div class="sub-desc">True to show, false to hide</div></li> </ul>
  1634. <strong>Returns:</strong>
  1635. <ul>
  1636. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  1637. </ul>
  1638. </div>
  1639. </div>
  1640. </div>
  1641. </td>
  1642. <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>
  1643. </tr>
  1644. <tr class="method-row inherited alt expandable">
  1645. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1646. <td class="sig">
  1647. <a id="Ext.DataView-setWidth"></a>
  1648. <b>setWidth</b>(&nbsp;<code>Number width</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  1649. <div class="short">Sets the width of the component. This method fires the resize event.</div>
  1650. <div class="long">
  1651. Sets the width of the component. This method fires the resize event. <div class="mdetail-params">
  1652. <strong>Parameters:</strong>
  1653. <ul><li><code>width</code> : Number<div class="sub-desc">The new width to set</div></li> </ul>
  1654. <strong>Returns:</strong>
  1655. <ul>
  1656. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  1657. </ul>
  1658. </div>
  1659. </div>
  1660. </div>
  1661. </td>
  1662. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setWidth" href="output/Ext.BoxComponent.html#setWidth">BoxComponent</a></td>
  1663. </tr>
  1664. <tr class="method-row inherited expandable">
  1665. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1666. <td class="sig">
  1667. <a id="Ext.DataView-show"></a>
  1668. <b>show</b>() : Ext.Component <div class="mdesc">
  1669. <div class="short">Show this component.</div>
  1670. <div class="long">
  1671. Show this component. <div class="mdetail-params">
  1672. <strong>Parameters:</strong>
  1673. <ul><li>None.</li> </ul>
  1674. <strong>Returns:</strong>
  1675. <ul>
  1676. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  1677. </ul>
  1678. </div>
  1679. </div>
  1680. </div>
  1681. </td>
  1682. <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>
  1683. </tr>
  1684. <tr class="method-row inherited alt expandable">
  1685. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1686. <td class="sig">
  1687. <a id="Ext.DataView-suspendEvents"></a>
  1688. <b>suspendEvents</b>() : void <div class="mdesc">
  1689. <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>
  1690. <div class="long">
  1691. 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">
  1692. <strong>Parameters:</strong>
  1693. <ul><li>None.</li> </ul>
  1694. <strong>Returns:</strong>
  1695. <ul>
  1696. <li><code>void</code></li>
  1697. </ul>
  1698. </div>
  1699. </div>
  1700. </div>
  1701. </td>
  1702. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
  1703. </tr>
  1704. <tr class="method-row inherited expandable">
  1705. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1706. <td class="sig">
  1707. <a id="Ext.DataView-syncSize"></a>
  1708. <b>syncSize</b>() : Ext.BoxComponent <div class="mdesc">
  1709. <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
  1710. <div class="long">
  1711. Force the component's size to recalculate based on the underlying element's current height and width. <div class="mdetail-params">
  1712. <strong>Parameters:</strong>
  1713. <ul><li>None.</li> </ul>
  1714. <strong>Returns:</strong>
  1715. <ul>
  1716. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  1717. </ul>
  1718. </div>
  1719. </div>
  1720. </div>
  1721. </td>
  1722. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#syncSize" href="output/Ext.BoxComponent.html#syncSize">BoxComponent</a></td>
  1723. </tr>
  1724. <tr class="method-row inherited alt expandable">
  1725. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1726. <td class="sig">
  1727. <a id="Ext.DataView-un"></a>
  1728. <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">
  1729. <div class="short">Removes a listener (shorthand for removeListener)</div>
  1730. <div class="long">
  1731. Removes a listener (shorthand for removeListener) <div class="mdetail-params">
  1732. <strong>Parameters:</strong>
  1733. <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>
  1734. <strong>Returns:</strong>
  1735. <ul>
  1736. <li><code>void</code></li>
  1737. </ul>
  1738. </div>
  1739. </div>
  1740. </div>
  1741. </td>
  1742. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
  1743. </tr>
  1744. <tr class="method-row inherited expandable">
  1745. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1746. <td class="sig">
  1747. <a id="Ext.DataView-updateBox"></a>
  1748. <b>updateBox</b>(&nbsp;<code>Object box</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  1749. <div class="short">Sets the current box measurements of the component's underlying element.</div>
  1750. <div class="long">
  1751. Sets the current box measurements of the component's underlying element. <div class="mdetail-params">
  1752. <strong>Parameters:</strong>
  1753. <ul><li><code>box</code> : Object<div class="sub-desc">An object in the format {x, y, width, height}</div></li> </ul>
  1754. <strong>Returns:</strong>
  1755. <ul>
  1756. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  1757. </ul>
  1758. </div>
  1759. </div>
  1760. </div>
  1761. </td>
  1762. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#updateBox" href="output/Ext.BoxComponent.html#updateBox">BoxComponent</a></td>
  1763. </tr>
  1764. </table>
  1765. <a id="Ext.DataView-events"></a>
  1766. <h2>Public Events</h2>
  1767. <table cellspacing="0" class="member-table">
  1768. <tr>
  1769. <th class="sig-header" colspan="2">Event</th>
  1770. <th class="msource-header">Defined By</th>
  1771. </tr>
  1772. <tr class="event-row expandable">
  1773. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1774. <td class="sig">
  1775. <a id="Ext.DataView-beforeclick"></a>
  1776. <b>beforeclick</b> : (&nbsp;<code>Ext.DataView this</code>, <code>Number index</code>, <code>HTMLElement node</code>, <code>Ext.EventObject e</code>&nbsp;) <div class="mdesc">
  1777. <div class="short">Fires before a click is processed. Returns false to cancel the default action.</div>
  1778. <div class="long">
  1779. Fires before a click is processed. Returns false to cancel the default action. <div class="mdetail-params">
  1780. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1781. <ul><li><code>this</code> : Ext.DataView<div class="sub-desc"></div></li><li><code>index</code> : Number<div class="sub-desc">The index of the target node</div></li><li><code>node</code> : HTMLElement<div class="sub-desc">The target node</div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc">The raw event object</div></li> </ul>
  1782. </div>
  1783. </div>
  1784. </div>
  1785. </td>
  1786. <td class="msource">DataView</td>
  1787. </tr>
  1788. <tr class="event-row inherited alt expandable">
  1789. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1790. <td class="sig">
  1791. <a id="Ext.DataView-beforedestroy"></a>
  1792. <b>beforedestroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1793. <div class="short">Fires before the component is destroyed. Return false to stop the destroy.</div>
  1794. <div class="long">
  1795. Fires before the component is destroyed. Return false to stop the destroy. <div class="mdetail-params">
  1796. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1797. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1798. </div>
  1799. </div>
  1800. </div>
  1801. </td>
  1802. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>
  1803. </tr>
  1804. <tr class="event-row inherited expandable">
  1805. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1806. <td class="sig">
  1807. <a id="Ext.DataView-beforehide"></a>
  1808. <b>beforehide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1809. <div class="short">Fires before the component is hidden. Return false to stop the hide.</div>
  1810. <div class="long">
  1811. Fires before the component is hidden. Return false to stop the hide. <div class="mdetail-params">
  1812. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1813. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1814. </div>
  1815. </div>
  1816. </div>
  1817. </td>
  1818. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>
  1819. </tr>
  1820. <tr class="event-row inherited alt expandable">
  1821. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1822. <td class="sig">
  1823. <a id="Ext.DataView-beforerender"></a>
  1824. <b>beforerender</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1825. <div class="short">Fires before the component is rendered. Return false to stop the render.</div>
  1826. <div class="long">
  1827. Fires before the component is rendered. Return false to stop the render. <div class="mdetail-params">
  1828. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1829. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1830. </div>
  1831. </div>
  1832. </div>
  1833. </td>
  1834. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>
  1835. </tr>
  1836. <tr class="event-row expandable">
  1837. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1838. <td class="sig">
  1839. <a id="Ext.DataView-beforeselect"></a>
  1840. <b>beforeselect</b> : (&nbsp;<code>Ext.DataView this</code>, <code>HTMLElement node</code>, <code>Array selections</code>&nbsp;) <div class="mdesc">
  1841. <div class="short">Fires before a selection is made. If any handlers return false, the selection is cancelled.</div>
  1842. <div class="long">
  1843. Fires before a selection is made. If any handlers return false, the selection is cancelled. <div class="mdetail-params">
  1844. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1845. <ul><li><code>this</code> : Ext.DataView<div class="sub-desc"></div></li><li><code>node</code> : HTMLElement<div class="sub-desc">The node to be selected</div></li><li><code>selections</code> : Array<div class="sub-desc">Array of currently selected nodes</div></li> </ul>
  1846. </div>
  1847. </div>
  1848. </div>
  1849. </td>
  1850. <td class="msource">DataView</td>
  1851. </tr>
  1852. <tr class="event-row inherited alt expandable">
  1853. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1854. <td class="sig">
  1855. <a id="Ext.DataView-beforeshow"></a>
  1856. <b>beforeshow</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1857. <div class="short">Fires before the component is shown. Return false to stop the show.</div>
  1858. <div class="long">
  1859. Fires before the component is shown. Return false to stop the show. <div class="mdetail-params">
  1860. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1861. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1862. </div>
  1863. </div>
  1864. </div>
  1865. </td>
  1866. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>
  1867. </tr>
  1868. <tr class="event-row inherited expandable">
  1869. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1870. <td class="sig">
  1871. <a id="Ext.DataView-beforestaterestore"></a>
  1872. <b>beforestaterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  1873. <div class="short">Fires before the state of the component is restored. Return false to stop the restore.</div>
  1874. <div class="long">
  1875. Fires before the state of the component is restored. Return false to stop the restore. <div class="mdetail-params">
  1876. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1877. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li> </ul>
  1878. </div>
  1879. </div>
  1880. </div>
  1881. </td>
  1882. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>
  1883. </tr>
  1884. <tr class="event-row inherited alt expandable">
  1885. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1886. <td class="sig">
  1887. <a id="Ext.DataView-beforestatesave"></a>
  1888. <b>beforestatesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  1889. <div class="short">Fires before the state of the component is saved to the configured state provider. Return false to stop the save.</div>
  1890. <div class="long">
  1891. Fires before the state of the component is saved to the configured state provider. Return false to stop the save. <div class="mdetail-params">
  1892. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1893. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li> </ul>
  1894. </div>
  1895. </div>
  1896. </div>
  1897. </td>
  1898. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>
  1899. </tr>
  1900. <tr class="event-row expandable">
  1901. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1902. <td class="sig">
  1903. <a id="Ext.DataView-click"></a>
  1904. <b>click</b> : (&nbsp;<code>Ext.DataView this</code>, <code>Number index</code>, <code>HTMLElement node</code>, <code>Ext.EventObject e</code>&nbsp;) <div class="mdesc">
  1905. <div class="short">Fires when a template node is clicked.</div>
  1906. <div class="long">
  1907. Fires when a template node is clicked. <div class="mdetail-params">
  1908. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1909. <ul><li><code>this</code> : Ext.DataView<div class="sub-desc"></div></li><li><code>index</code> : Number<div class="sub-desc">The index of the target node</div></li><li><code>node</code> : HTMLElement<div class="sub-desc">The target node</div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc">The raw event object</div></li> </ul>
  1910. </div>
  1911. </div>
  1912. </div>
  1913. </td>
  1914. <td class="msource">DataView</td>
  1915. </tr>
  1916. <tr class="event-row alt expandable">
  1917. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1918. <td class="sig">
  1919. <a id="Ext.DataView-containerclick"></a>
  1920. <b>containerclick</b> : (&nbsp;<code>Ext.DataView this</code>, <code>Ext.EventObject e</code>&nbsp;) <div class="mdesc">
  1921. <div class="short">Fires when a click occurs and it is not on a template node.</div>
  1922. <div class="long">
  1923. Fires when a click occurs and it is not on a template node. <div class="mdetail-params">
  1924. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1925. <ul><li><code>this</code> : Ext.DataView<div class="sub-desc"></div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc">The raw event object</div></li> </ul>
  1926. </div>
  1927. </div>
  1928. </div>
  1929. </td>
  1930. <td class="msource">DataView</td>
  1931. </tr>
  1932. <tr class="event-row expandable">
  1933. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1934. <td class="sig">
  1935. <a id="Ext.DataView-contextmenu"></a>
  1936. <b>contextmenu</b> : (&nbsp;<code>Ext.DataView this</code>, <code>Number index</code>, <code>HTMLElement node</code>, <code>Ext.EventObject e</code>&nbsp;) <div class="mdesc">
  1937. <div class="short">Fires when a template node is right clicked.</div>
  1938. <div class="long">
  1939. Fires when a template node is right clicked. <div class="mdetail-params">
  1940. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1941. <ul><li><code>this</code> : Ext.DataView<div class="sub-desc"></div></li><li><code>index</code> : Number<div class="sub-desc">The index of the target node</div></li><li><code>node</code> : HTMLElement<div class="sub-desc">The target node</div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc">The raw event object</div></li> </ul>
  1942. </div>
  1943. </div>
  1944. </div>
  1945. </td>
  1946. <td class="msource">DataView</td>
  1947. </tr>
  1948. <tr class="event-row alt expandable">
  1949. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1950. <td class="sig">
  1951. <a id="Ext.DataView-dblclick"></a>
  1952. <b>dblclick</b> : (&nbsp;<code>Ext.DataView this</code>, <code>Number index</code>, <code>HTMLElement node</code>, <code>Ext.EventObject e</code>&nbsp;) <div class="mdesc">
  1953. <div class="short">Fires when a template node is double clicked.</div>
  1954. <div class="long">
  1955. Fires when a template node is double clicked. <div class="mdetail-params">
  1956. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1957. <ul><li><code>this</code> : Ext.DataView<div class="sub-desc"></div></li><li><code>index</code> : Number<div class="sub-desc">The index of the target node</div></li><li><code>node</code> : HTMLElement<div class="sub-desc">The target node</div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc">The raw event object</div></li> </ul>
  1958. </div>
  1959. </div>
  1960. </div>
  1961. </td>
  1962. <td class="msource">DataView</td>
  1963. </tr>
  1964. <tr class="event-row inherited expandable">
  1965. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1966. <td class="sig">
  1967. <a id="Ext.DataView-destroy"></a>
  1968. <b>destroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1969. <div class="short">Fires after the component is destroyed.</div>
  1970. <div class="long">
  1971. Fires after the component is destroyed. <div class="mdetail-params">
  1972. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1973. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1974. </div>
  1975. </div>
  1976. </div>
  1977. </td>
  1978. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>
  1979. </tr>
  1980. <tr class="event-row inherited alt expandable">
  1981. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1982. <td class="sig">
  1983. <a id="Ext.DataView-disable"></a>
  1984. <b>disable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1985. <div class="short">Fires after the component is disabled.</div>
  1986. <div class="long">
  1987. Fires after the component is disabled. <div class="mdetail-params">
  1988. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1989. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1990. </div>
  1991. </div>
  1992. </div>
  1993. </td>
  1994. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>
  1995. </tr>
  1996. <tr class="event-row inherited expandable">
  1997. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1998. <td class="sig">
  1999. <a id="Ext.DataView-enable"></a>
  2000. <b>enable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2001. <div class="short">Fires after the component is enabled.</div>
  2002. <div class="long">
  2003. Fires after the component is enabled. <div class="mdetail-params">
  2004. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2005. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2006. </div>
  2007. </div>
  2008. </div>
  2009. </td>
  2010. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>
  2011. </tr>
  2012. <tr class="event-row inherited alt expandable">
  2013. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2014. <td class="sig">
  2015. <a id="Ext.DataView-hide"></a>
  2016. <b>hide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2017. <div class="short">Fires after the component is hidden.</div>
  2018. <div class="long">
  2019. Fires after the component is hidden. <div class="mdetail-params">
  2020. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2021. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2022. </div>
  2023. </div>
  2024. </div>
  2025. </td>
  2026. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>
  2027. </tr>
  2028. <tr class="event-row inherited expandable">
  2029. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2030. <td class="sig">
  2031. <a id="Ext.DataView-move"></a>
  2032. <b>move</b> : (&nbsp;<code>Ext.Component this</code>, <code>Number x</code>, <code>Number y</code>&nbsp;) <div class="mdesc">
  2033. <div class="short">Fires after the component is moved.</div>
  2034. <div class="long">
  2035. Fires after the component is moved. <div class="mdetail-params">
  2036. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2037. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>x</code> : Number<div class="sub-desc">The new x position</div></li><li><code>y</code> : Number<div class="sub-desc">The new y position</div></li> </ul>
  2038. </div>
  2039. </div>
  2040. </div>
  2041. </td>
  2042. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-move" href="output/Ext.BoxComponent.html#event-move">BoxComponent</a></td>
  2043. </tr>
  2044. <tr class="event-row inherited alt expandable">
  2045. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2046. <td class="sig">
  2047. <a id="Ext.DataView-render"></a>
  2048. <b>render</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2049. <div class="short">Fires after the component is rendered.</div>
  2050. <div class="long">
  2051. Fires after the component is rendered. <div class="mdetail-params">
  2052. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2053. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2054. </div>
  2055. </div>
  2056. </div>
  2057. </td>
  2058. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>
  2059. </tr>
  2060. <tr class="event-row inherited expandable">
  2061. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2062. <td class="sig">
  2063. <a id="Ext.DataView-resize"></a>
  2064. <b>resize</b> : (&nbsp;<code>Ext.Component this</code>, <code>Number adjWidth</code>, <code>Number adjHeight</code>, <code>Number rawWidth</code>, <code>Number rawHeight</code>&nbsp;) <div class="mdesc">
  2065. <div class="short">Fires after the component is resized.</div>
  2066. <div class="long">
  2067. Fires after the component is resized. <div class="mdetail-params">
  2068. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2069. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>adjWidth</code> : Number<div class="sub-desc">The box-adjusted width that was set</div></li><li><code>adjHeight</code> : Number<div class="sub-desc">The box-adjusted height that was set</div></li><li><code>rawWidth</code> : Number<div class="sub-desc">The width that was originally specified</div></li><li><code>rawHeight</code> : Number<div class="sub-desc">The height that was originally specified</div></li> </ul>
  2070. </div>
  2071. </div>
  2072. </div>
  2073. </td>
  2074. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-resize" href="output/Ext.BoxComponent.html#event-resize">BoxComponent</a></td>
  2075. </tr>
  2076. <tr class="event-row alt expandable">
  2077. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2078. <td class="sig">
  2079. <a id="Ext.DataView-selectionchange"></a>
  2080. <b>selectionchange</b> : (&nbsp;<code>Ext.DataView this</code>, <code>Array selections</code>&nbsp;) <div class="mdesc">
  2081. <div class="short">Fires when the selected nodes change.</div>
  2082. <div class="long">
  2083. Fires when the selected nodes change. <div class="mdetail-params">
  2084. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2085. <ul><li><code>this</code> : Ext.DataView<div class="sub-desc"></div></li><li><code>selections</code> : Array<div class="sub-desc">Array of the selected nodes</div></li> </ul>
  2086. </div>
  2087. </div>
  2088. </div>
  2089. </td>
  2090. <td class="msource">DataView</td>
  2091. </tr>
  2092. <tr class="event-row inherited expandable">
  2093. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2094. <td class="sig">
  2095. <a id="Ext.DataView-show"></a>
  2096. <b>show</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2097. <div class="short">Fires after the component is shown.</div>
  2098. <div class="long">
  2099. Fires after the component is shown. <div class="mdetail-params">
  2100. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2101. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2102. </div>
  2103. </div>
  2104. </div>
  2105. </td>
  2106. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>
  2107. </tr>
  2108. <tr class="event-row inherited alt expandable">
  2109. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2110. <td class="sig">
  2111. <a id="Ext.DataView-staterestore"></a>
  2112. <b>staterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  2113. <div class="short">Fires after the state of the component is restored.</div>
  2114. <div class="long">
  2115. Fires after the state of the component is restored. <div class="mdetail-params">
  2116. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2117. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li> </ul>
  2118. </div>
  2119. </div>
  2120. </div>
  2121. </td>
  2122. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>
  2123. </tr>
  2124. <tr class="event-row inherited expandable">
  2125. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2126. <td class="sig">
  2127. <a id="Ext.DataView-statesave"></a>
  2128. <b>statesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  2129. <div class="short">Fires after the state of the component is saved to the configured state provider.</div>
  2130. <div class="long">
  2131. Fires after the state of the component is saved to the configured state provider. <div class="mdetail-params">
  2132. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2133. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li> </ul>
  2134. </div>
  2135. </div>
  2136. </div>
  2137. </td>
  2138. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>
  2139. </tr>
  2140. </table>
  2141. </div>