cbff84b004e888683b33d8030af1e3b3a2417900.svn-base 175 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908
  1. <div class="body-wrap">
  2. <div class="top-tools">
  3. <a class="inner-link" href="#Ext.form.ComboBox-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
  4. <a class="inner-link" href="#Ext.form.ComboBox-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
  5. <a class="inner-link" href="#Ext.form.ComboBox-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
  6. <a class="inner-link" href="#Ext.form.ComboBox-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
  7. <a class="bookmark" href="../docs/?class=Ext.form.ComboBox"><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"/><a ext:cls="Ext.form.Field" ext:member="" href="output/Ext.form.Field.html">Field</a>
  14. <img src="resources/elbow-end.gif"/><a ext:cls="Ext.form.TextField" ext:member="" href="output/Ext.form.TextField.html">TextField</a>
  15. <img src="resources/elbow-end.gif"/><a ext:cls="Ext.form.TriggerField" ext:member="" href="output/Ext.form.TriggerField.html">TriggerField</a>
  16. <img src="resources/elbow-end.gif"/>ComboBox</pre></div>
  17. <h1>Class Ext.form.ComboBox</h1>
  18. <table cellspacing="0">
  19. <tr><td class="label">Package:</td><td class="hd-info">Ext.form</td></tr>
  20. <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/Combo.js" target="_blank">Combo.js</a></td></tr>
  21. <tr><td class="label">Class:</td><td class="hd-info">ComboBox</td></tr>
  22. <tr><td class="label">Subclasses:</td><td class="hd-info"><a ext:cls="Ext.form.TimeField" href="output/Ext.form.TimeField.html">TimeField</a></td></tr>
  23. <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.form.TriggerField" ext:member="" href="output/Ext.form.TriggerField.html">TriggerField</a></td></tr>
  24. </table>
  25. <div class="description">
  26. A combobox control with support for autocomplete, remote-loading, paging and many other features. </div>
  27. <div class="hr"></div>
  28. <a id="Ext.form.ComboBox-configs"></a>
  29. <h2>Config Options</h2>
  30. <table cellspacing="0" class="member-table">
  31. <tr>
  32. <th class="sig-header" colspan="2">Config Options</th>
  33. <th class="msource-header">Defined By</th>
  34. </tr>
  35. <tr class="config-row">
  36. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  37. <td class="sig">
  38. <a id="Ext.form.ComboBox-allQuery"></a>
  39. <b>allQuery</b> : String <div class="mdesc">
  40. The text query to send to the server to return all records for the list with no filtering (defaults to '') </div>
  41. </td>
  42. <td class="msource">ComboBox</td>
  43. </tr>
  44. <tr class="config-row inherited alt">
  45. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  46. <td class="sig">
  47. <a id="Ext.form.ComboBox-allowBlank"></a>
  48. <b>allowBlank</b> : Boolean <div class="mdesc">
  49. False to validate that the value length > 0 (defaults to true) </div>
  50. </td>
  51. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#allowBlank" href="output/Ext.form.TextField.html#allowBlank">TextField</a></td>
  52. </tr>
  53. <tr class="config-row inherited">
  54. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  55. <td class="sig">
  56. <a id="Ext.form.ComboBox-allowDomMove"></a>
  57. <b>allowDomMove</b> : Boolean <div class="mdesc">
  58. Whether the component can move the Dom node when rendering (defaults to true). </div>
  59. </td>
  60. <td class="msource"><a ext:cls="Ext.Component" ext:member="#allowDomMove" href="output/Ext.Component.html#allowDomMove">Component</a></td>
  61. </tr>
  62. <tr class="config-row inherited alt expandable">
  63. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  64. <td class="sig">
  65. <a id="Ext.form.ComboBox-applyTo"></a>
  66. <b>applyTo</b> : Mixed <div class="mdesc">
  67. <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>
  68. <div class="long">
  69. 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>
  70. </div>
  71. </td>
  72. <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyTo" href="output/Ext.Component.html#applyTo">Component</a></td>
  73. </tr>
  74. <tr class="config-row expandable">
  75. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  76. <td class="sig">
  77. <a id="Ext.form.ComboBox-autoCreate"></a>
  78. <b>autoCreate</b> : Boolean/Object <div class="mdesc">
  79. <div class="short">A DomHelper element spec, or true for a default element spec (defaults to: {tag: "input", type: "text", size: "24", a...</div>
  80. <div class="long">
  81. A DomHelper element spec, or true for a default element spec (defaults to: {tag: "input", type: "text", size: "24", autocomplete: "off"}) </div>
  82. </div>
  83. </td>
  84. <td class="msource">ComboBox</td>
  85. </tr>
  86. <tr class="config-row inherited alt">
  87. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  88. <td class="sig">
  89. <a id="Ext.form.ComboBox-autoHeight"></a>
  90. <b>autoHeight</b> : Boolean <div class="mdesc">
  91. True to use height:'auto', false to use fixed height (defaults to false). </div>
  92. </td>
  93. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#autoHeight" href="output/Ext.BoxComponent.html#autoHeight">BoxComponent</a></td>
  94. </tr>
  95. <tr class="config-row inherited expandable">
  96. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  97. <td class="sig">
  98. <a id="Ext.form.ComboBox-autoShow"></a>
  99. <b>autoShow</b> : Boolean <div class="mdesc">
  100. <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>
  101. <div class="long">
  102. 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>
  103. </div>
  104. </td>
  105. <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>
  106. </tr>
  107. <tr class="config-row inherited alt">
  108. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  109. <td class="sig">
  110. <a id="Ext.form.ComboBox-autoWidth"></a>
  111. <b>autoWidth</b> : Boolean <div class="mdesc">
  112. True to use width:'auto', false to use fixed width (defaults to false). </div>
  113. </td>
  114. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#autoWidth" href="output/Ext.BoxComponent.html#autoWidth">BoxComponent</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.form.ComboBox-blankText"></a>
  120. <b>blankText</b> : String <div class="mdesc">
  121. Error text to display if the allow blank validation fails (defaults to "This field is required") </div>
  122. </td>
  123. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#blankText" href="output/Ext.form.TextField.html#blankText">TextField</a></td>
  124. </tr>
  125. <tr class="config-row inherited alt">
  126. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  127. <td class="sig">
  128. <a id="Ext.form.ComboBox-clearCls"></a>
  129. <b>clearCls</b> : String <div class="mdesc">
  130. The CSS class used to provide field clearing (defaults to 'x-form-clear-left') </div>
  131. </td>
  132. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#clearCls" href="output/Ext.form.Field.html#clearCls">Field</a></td>
  133. </tr>
  134. <tr class="config-row inherited expandable">
  135. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  136. <td class="sig">
  137. <a id="Ext.form.ComboBox-cls"></a>
  138. <b>cls</b> : String <div class="mdesc">
  139. <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>
  140. <div class="long">
  141. 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>
  142. </div>
  143. </td>
  144. <td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">Component</a></td>
  145. </tr>
  146. <tr class="config-row inherited alt expandable">
  147. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  148. <td class="sig">
  149. <a id="Ext.form.ComboBox-ctCls"></a>
  150. <b>ctCls</b> : String <div class="mdesc">
  151. <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>
  152. <div class="long">
  153. 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>
  154. </div>
  155. </td>
  156. <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>
  157. </tr>
  158. <tr class="config-row inherited">
  159. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  160. <td class="sig">
  161. <a id="Ext.form.ComboBox-disableKeyFilter"></a>
  162. <b>disableKeyFilter</b> : Boolean <div class="mdesc">
  163. True to disable input keystroke filtering (defaults to false) </div>
  164. </td>
  165. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#disableKeyFilter" href="output/Ext.form.TextField.html#disableKeyFilter">TextField</a></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.form.ComboBox-disabled"></a>
  171. <b>disabled</b> : Boolean <div class="mdesc">
  172. True to disable the field (defaults to false). </div>
  173. </td>
  174. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#disabled" href="output/Ext.form.Field.html#disabled">Field</a></td>
  175. </tr>
  176. <tr class="config-row inherited">
  177. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  178. <td class="sig">
  179. <a id="Ext.form.ComboBox-disabledClass"></a>
  180. <b>disabledClass</b> : String <div class="mdesc">
  181. CSS class added to the component when it is disabled (defaults to "x-item-disabled"). </div>
  182. </td>
  183. <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>
  184. </tr>
  185. <tr class="config-row alt expandable">
  186. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  187. <td class="sig">
  188. <a id="Ext.form.ComboBox-displayField"></a>
  189. <b>displayField</b> : String <div class="mdesc">
  190. <div class="short">The underlying data field name to bind to this ComboBox (defaults to undefined if mode = 'remote' or 'text' if transf...</div>
  191. <div class="long">
  192. The underlying data field name to bind to this ComboBox (defaults to undefined if mode = 'remote' or 'text' if transforming a select) </div>
  193. </div>
  194. </td>
  195. <td class="msource">ComboBox</td>
  196. </tr>
  197. <tr class="config-row">
  198. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  199. <td class="sig">
  200. <a id="Ext.form.ComboBox-editable"></a>
  201. <b>editable</b> : Boolean <div class="mdesc">
  202. False to prevent the user from typing text directly into the field, just like a traditional select (defaults to true) </div>
  203. </td>
  204. <td class="msource">ComboBox</td>
  205. </tr>
  206. <tr class="config-row inherited alt expandable">
  207. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  208. <td class="sig">
  209. <a id="Ext.form.ComboBox-emptyClass"></a>
  210. <b>emptyClass</b> : String <div class="mdesc">
  211. <div class="short">The CSS class to apply to an empty field to style the emptyText (defaults to 'x-form-empty-field'). This class is aut...</div>
  212. <div class="long">
  213. The CSS class to apply to an empty field to style the <a ext:cls="Ext.form.TextField" ext:member="emptyText" href="output/Ext.form.TextField.html#emptyText">emptyText</a> (defaults to 'x-form-empty-field'). This class is automatically added and removed as needed depending on the current field value. </div>
  214. </div>
  215. </td>
  216. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#emptyClass" href="output/Ext.form.TextField.html#emptyClass">TextField</a></td>
  217. </tr>
  218. <tr class="config-row inherited">
  219. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  220. <td class="sig">
  221. <a id="Ext.form.ComboBox-emptyText"></a>
  222. <b>emptyText</b> : String <div class="mdesc">
  223. The default text to display in an empty field (defaults to null). </div>
  224. </td>
  225. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#emptyText" href="output/Ext.form.TextField.html#emptyText">TextField</a></td>
  226. </tr>
  227. <tr class="config-row inherited alt">
  228. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  229. <td class="sig">
  230. <a id="Ext.form.ComboBox-fieldClass"></a>
  231. <b>fieldClass</b> : String <div class="mdesc">
  232. The default CSS class for the field (defaults to "x-form-field") </div>
  233. </td>
  234. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#fieldClass" href="output/Ext.form.Field.html#fieldClass">Field</a></td>
  235. </tr>
  236. <tr class="config-row inherited">
  237. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  238. <td class="sig">
  239. <a id="Ext.form.ComboBox-fieldLabel"></a>
  240. <b>fieldLabel</b> : String <div class="mdesc">
  241. The label text to display next to this field (defaults to '') </div>
  242. </td>
  243. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#fieldLabel" href="output/Ext.form.Field.html#fieldLabel">Field</a></td>
  244. </tr>
  245. <tr class="config-row inherited alt">
  246. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  247. <td class="sig">
  248. <a id="Ext.form.ComboBox-focusClass"></a>
  249. <b>focusClass</b> : String <div class="mdesc">
  250. The CSS class to use when the field receives focus (defaults to "x-form-focus") </div>
  251. </td>
  252. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#focusClass" href="output/Ext.form.Field.html#focusClass">Field</a></td>
  253. </tr>
  254. <tr class="config-row expandable">
  255. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  256. <td class="sig">
  257. <a id="Ext.form.ComboBox-forceSelection"></a>
  258. <b>forceSelection</b> : Boolean <div class="mdesc">
  259. <div class="short">True to restrict the selected value to one of the values in the list, false to allow the user to set arbitrary text i...</div>
  260. <div class="long">
  261. True to restrict the selected value to one of the values in the list, false to allow the user to set arbitrary text into the field (defaults to false) </div>
  262. </div>
  263. </td>
  264. <td class="msource">ComboBox</td>
  265. </tr>
  266. <tr class="config-row alt">
  267. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  268. <td class="sig">
  269. <a id="Ext.form.ComboBox-handleHeight"></a>
  270. <b>handleHeight</b> : Number <div class="mdesc">
  271. The height in pixels of the dropdown list resize handle if resizable = true (defaults to 8) </div>
  272. </td>
  273. <td class="msource">ComboBox</td>
  274. </tr>
  275. <tr class="config-row inherited">
  276. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  277. <td class="sig">
  278. <a id="Ext.form.ComboBox-height"></a>
  279. <b>height</b> : Number <div class="mdesc">
  280. The height of this component in pixels (defaults to auto). </div>
  281. </td>
  282. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#height" href="output/Ext.BoxComponent.html#height">BoxComponent</a></td>
  283. </tr>
  284. <tr class="config-row alt expandable">
  285. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  286. <td class="sig">
  287. <a id="Ext.form.ComboBox-hiddenName"></a>
  288. <b>hiddenName</b> : String <div class="mdesc">
  289. <div class="short">If specified, a hidden form field with this name is dynamically generated to store the field's data value (defaults t...</div>
  290. <div class="long">
  291. If specified, a hidden form field with this name is dynamically generated to store the field's data value (defaults to the underlying DOM element's name). Required for the combo's value to automatically post during a form submission. </div>
  292. </div>
  293. </td>
  294. <td class="msource">ComboBox</td>
  295. </tr>
  296. <tr class="config-row inherited">
  297. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  298. <td class="sig">
  299. <a id="Ext.form.ComboBox-hideLabel"></a>
  300. <b>hideLabel</b> : Boolean <div class="mdesc">
  301. True to completely hide the label element (defaults to false) </div>
  302. </td>
  303. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#hideLabel" href="output/Ext.form.Field.html#hideLabel">Field</a></td>
  304. </tr>
  305. <tr class="config-row inherited alt expandable">
  306. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  307. <td class="sig">
  308. <a id="Ext.form.ComboBox-hideMode"></a>
  309. <b>hideMode</b> : String <div class="mdesc">
  310. <div class="short">How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset posi...</div>
  311. <div class="long">
  312. How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display". </div>
  313. </div>
  314. </td>
  315. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td>
  316. </tr>
  317. <tr class="config-row inherited expandable">
  318. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  319. <td class="sig">
  320. <a id="Ext.form.ComboBox-hideParent"></a>
  321. <b>hideParent</b> : Boolean <div class="mdesc">
  322. <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>
  323. <div class="long">
  324. 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>
  325. </div>
  326. </td>
  327. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td>
  328. </tr>
  329. <tr class="config-row inherited alt">
  330. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  331. <td class="sig">
  332. <a id="Ext.form.ComboBox-hideTrigger"></a>
  333. <b>hideTrigger</b> : Boolean <div class="mdesc">
  334. True to hide the trigger element and display only the base text field (defaults to false) </div>
  335. </td>
  336. <td class="msource"><a ext:cls="Ext.form.TriggerField" ext:member="#hideTrigger" href="output/Ext.form.TriggerField.html#hideTrigger">TriggerField</a></td>
  337. </tr>
  338. <tr class="config-row inherited">
  339. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  340. <td class="sig">
  341. <a id="Ext.form.ComboBox-id"></a>
  342. <b>id</b> : String <div class="mdesc">
  343. The unique id of this component (defaults to an auto-assigned id). </div>
  344. </td>
  345. <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td>
  346. </tr>
  347. <tr class="config-row inherited alt">
  348. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  349. <td class="sig">
  350. <a id="Ext.form.ComboBox-inputType"></a>
  351. <b>inputType</b> : String <div class="mdesc">
  352. The type attribute for input fields -- e.g. radio, text, password (defaults to "text"). </div>
  353. </td>
  354. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#inputType" href="output/Ext.form.Field.html#inputType">Field</a></td>
  355. </tr>
  356. <tr class="config-row inherited">
  357. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  358. <td class="sig">
  359. <a id="Ext.form.ComboBox-invalidClass"></a>
  360. <b>invalidClass</b> : String <div class="mdesc">
  361. The CSS class to use when marking a field invalid (defaults to "x-form-invalid") </div>
  362. </td>
  363. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#invalidClass" href="output/Ext.form.Field.html#invalidClass">Field</a></td>
  364. </tr>
  365. <tr class="config-row inherited alt expandable">
  366. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  367. <td class="sig">
  368. <a id="Ext.form.ComboBox-invalidText"></a>
  369. <b>invalidText</b> : String <div class="mdesc">
  370. <div class="short">The error text to use when marking a field invalid and no message is provided (defaults to "The value in this field i...</div>
  371. <div class="long">
  372. The error text to use when marking a field invalid and no message is provided (defaults to "The value in this field is invalid") </div>
  373. </div>
  374. </td>
  375. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#invalidText" href="output/Ext.form.Field.html#invalidText">Field</a></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.form.ComboBox-itemCls"></a>
  381. <b>itemCls</b> : String <div class="mdesc">
  382. An additional CSS class to apply to this field (defaults to the container's itemCls value if set, or '') </div>
  383. </td>
  384. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#itemCls" href="output/Ext.form.Field.html#itemCls">Field</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.form.ComboBox-labelSeparator"></a>
  390. <b>labelSeparator</b> : String <div class="mdesc">
  391. <div class="short">The standard separator to display after the text of each form label (defaults to the value of Ext.layout.FormLayout.l...</div>
  392. <div class="long">
  393. The standard separator to display after the text of each form label (defaults to the value of <a ext:cls="Ext.layout.FormLayout" ext:member="labelSeparator" href="output/Ext.layout.FormLayout.html#labelSeparator">Ext.layout.FormLayout.labelSeparator</a>, which is a colon ':' by default). To display no separator for this field's label specify empty string ''. </div>
  394. </div>
  395. </td>
  396. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#labelSeparator" href="output/Ext.form.Field.html#labelSeparator">Field</a></td>
  397. </tr>
  398. <tr class="config-row inherited expandable">
  399. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  400. <td class="sig">
  401. <a id="Ext.form.ComboBox-labelStyle"></a>
  402. <b>labelStyle</b> : String <div class="mdesc">
  403. <div class="short">A CSS style specification to apply directly to this field's label (defaults to the container's labelStyle value if se...</div>
  404. <div class="long">
  405. A CSS style specification to apply directly to this field's label (defaults to the container's labelStyle value if set, or ''). For example, <code>labelStyle: 'font-weight:bold;'</code>. </div>
  406. </div>
  407. </td>
  408. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#labelStyle" href="output/Ext.form.Field.html#labelStyle">Field</a></td>
  409. </tr>
  410. <tr class="config-row alt">
  411. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  412. <td class="sig">
  413. <a id="Ext.form.ComboBox-lazyInit"></a>
  414. <b>lazyInit</b> : Boolean <div class="mdesc">
  415. True to not initialize the list for this combo until the field is focused. (defaults to true) </div>
  416. </td>
  417. <td class="msource">ComboBox</td>
  418. </tr>
  419. <tr class="config-row expandable">
  420. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  421. <td class="sig">
  422. <a id="Ext.form.ComboBox-lazyRender"></a>
  423. <b>lazyRender</b> : Boolean <div class="mdesc">
  424. <div class="short">True to prevent the ComboBox from rendering until requested (should always be used when rendering into an Ext.Editor,...</div>
  425. <div class="long">
  426. True to prevent the ComboBox from rendering until requested (should always be used when rendering into an Ext.Editor, defaults to false) </div>
  427. </div>
  428. </td>
  429. <td class="msource">ComboBox</td>
  430. </tr>
  431. <tr class="config-row alt">
  432. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  433. <td class="sig">
  434. <a id="Ext.form.ComboBox-listAlign"></a>
  435. <b>listAlign</b> : String <div class="mdesc">
  436. A valid anchor position value. See <a ext:cls="Ext.Element" ext:member="alignTo" href="output/Ext.Element.html#alignTo">Ext.Element.alignTo</a> for details on supported anchor positions (defaults to 'tl-bl') </div>
  437. </td>
  438. <td class="msource">ComboBox</td>
  439. </tr>
  440. <tr class="config-row">
  441. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  442. <td class="sig">
  443. <a id="Ext.form.ComboBox-listClass"></a>
  444. <b>listClass</b> : String <div class="mdesc">
  445. CSS class to apply to the dropdown list element (defaults to '') </div>
  446. </td>
  447. <td class="msource">ComboBox</td>
  448. </tr>
  449. <tr class="config-row alt">
  450. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  451. <td class="sig">
  452. <a id="Ext.form.ComboBox-listWidth"></a>
  453. <b>listWidth</b> : Number <div class="mdesc">
  454. The width in pixels of the dropdown list (defaults to the width of the ComboBox field) </div>
  455. </td>
  456. <td class="msource">ComboBox</td>
  457. </tr>
  458. <tr class="config-row inherited expandable">
  459. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  460. <td class="sig">
  461. <a id="Ext.form.ComboBox-listeners"></a>
  462. <b>listeners</b> : Object <div class="mdesc">
  463. <div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
  464. <div class="long">
  465. 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>
  466. </div>
  467. </td>
  468. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
  469. </tr>
  470. <tr class="config-row alt expandable">
  471. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  472. <td class="sig">
  473. <a id="Ext.form.ComboBox-loadingText"></a>
  474. <b>loadingText</b> : String <div class="mdesc">
  475. <div class="short">The text to display in the dropdown list while data is loading. Only applies when mode = 'remote' (defaults to 'Loadi...</div>
  476. <div class="long">
  477. The text to display in the dropdown list while data is loading. Only applies when mode = 'remote' (defaults to 'Loading...') </div>
  478. </div>
  479. </td>
  480. <td class="msource">ComboBox</td>
  481. </tr>
  482. <tr class="config-row inherited">
  483. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  484. <td class="sig">
  485. <a id="Ext.form.ComboBox-maskRe"></a>
  486. <b>maskRe</b> : RegExp <div class="mdesc">
  487. An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null) </div>
  488. </td>
  489. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#maskRe" href="output/Ext.form.TextField.html#maskRe">TextField</a></td>
  490. </tr>
  491. <tr class="config-row alt">
  492. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  493. <td class="sig">
  494. <a id="Ext.form.ComboBox-maxHeight"></a>
  495. <b>maxHeight</b> : Number <div class="mdesc">
  496. The maximum height in pixels of the dropdown list before scrollbars are shown (defaults to 300) </div>
  497. </td>
  498. <td class="msource">ComboBox</td>
  499. </tr>
  500. <tr class="config-row inherited">
  501. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  502. <td class="sig">
  503. <a id="Ext.form.ComboBox-maxLength"></a>
  504. <b>maxLength</b> : Number <div class="mdesc">
  505. Maximum input field length allowed (defaults to Number.MAX_VALUE) </div>
  506. </td>
  507. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#maxLength" href="output/Ext.form.TextField.html#maxLength">TextField</a></td>
  508. </tr>
  509. <tr class="config-row inherited alt expandable">
  510. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  511. <td class="sig">
  512. <a id="Ext.form.ComboBox-maxLengthText"></a>
  513. <b>maxLengthText</b> : String <div class="mdesc">
  514. <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxL...</div>
  515. <div class="long">
  516. Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}") </div>
  517. </div>
  518. </td>
  519. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#maxLengthText" href="output/Ext.form.TextField.html#maxLengthText">TextField</a></td>
  520. </tr>
  521. <tr class="config-row expandable">
  522. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  523. <td class="sig">
  524. <a id="Ext.form.ComboBox-minChars"></a>
  525. <b>minChars</b> : Number <div class="mdesc">
  526. <div class="short">The minimum number of characters the user must type before autocomplete and typeahead activate (defaults to 4 if remo...</div>
  527. <div class="long">
  528. The minimum number of characters the user must type before autocomplete and typeahead activate (defaults to 4 if remote or 0 if local, does not apply if editable = false) </div>
  529. </div>
  530. </td>
  531. <td class="msource">ComboBox</td>
  532. </tr>
  533. <tr class="config-row inherited alt">
  534. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  535. <td class="sig">
  536. <a id="Ext.form.ComboBox-minLength"></a>
  537. <b>minLength</b> : Number <div class="mdesc">
  538. Minimum input field length required (defaults to 0) </div>
  539. </td>
  540. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#minLength" href="output/Ext.form.TextField.html#minLength">TextField</a></td>
  541. </tr>
  542. <tr class="config-row inherited expandable">
  543. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  544. <td class="sig">
  545. <a id="Ext.form.ComboBox-minLengthText"></a>
  546. <b>minLengthText</b> : String <div class="mdesc">
  547. <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minL...</div>
  548. <div class="long">
  549. Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}") </div>
  550. </div>
  551. </td>
  552. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#minLengthText" href="output/Ext.form.TextField.html#minLengthText">TextField</a></td>
  553. </tr>
  554. <tr class="config-row alt">
  555. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  556. <td class="sig">
  557. <a id="Ext.form.ComboBox-minListWidth"></a>
  558. <b>minListWidth</b> : Number <div class="mdesc">
  559. The minimum width of the dropdown list in pixels (defaults to 70, will be ignored if listWidth has a higher value) </div>
  560. </td>
  561. <td class="msource">ComboBox</td>
  562. </tr>
  563. <tr class="config-row">
  564. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  565. <td class="sig">
  566. <a id="Ext.form.ComboBox-mode"></a>
  567. <b>mode</b> : String <div class="mdesc">
  568. Set to 'local' if the ComboBox loads local data (defaults to 'remote' which loads from the server) </div>
  569. </td>
  570. <td class="msource">ComboBox</td>
  571. </tr>
  572. <tr class="config-row inherited alt">
  573. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  574. <td class="sig">
  575. <a id="Ext.form.ComboBox-msgFx"></a>
  576. <b>msgFx</b> : String <div class="mdesc">
  577. <b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal'). </div>
  578. </td>
  579. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#msgFx" href="output/Ext.form.Field.html#msgFx">Field</a></td>
  580. </tr>
  581. <tr class="config-row inherited expandable">
  582. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  583. <td class="sig">
  584. <a id="Ext.form.ComboBox-msgTarget"></a>
  585. <b>msgTarget</b> : String <div class="mdesc">
  586. <div class="short">The location where error text should display. Should be one of the following values (defaults to 'qtip'): Value ...</div>
  587. <div class="long">
  588. The location where error text should display. Should be one of the following values (defaults to 'qtip'): <pre>Value Description
  589. ----------- ----------------------------------------------------------------------
  590. qtip Display a quick tip when the user hovers over the field
  591. title Display a default browser title attribute popup
  592. under Add a block div beneath the field containing the error text
  593. side Add an error icon to the right of the field with a popup on hover
  594. [element id] Add the error text directly to the innerHTML of the specified element</pre> </div>
  595. </div>
  596. </td>
  597. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#msgTarget" href="output/Ext.form.Field.html#msgTarget">Field</a></td>
  598. </tr>
  599. <tr class="config-row inherited alt">
  600. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  601. <td class="sig">
  602. <a id="Ext.form.ComboBox-name"></a>
  603. <b>name</b> : String <div class="mdesc">
  604. The field's HTML name attribute. </div>
  605. </td>
  606. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#name" href="output/Ext.form.Field.html#name">Field</a></td>
  607. </tr>
  608. <tr class="config-row expandable">
  609. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  610. <td class="sig">
  611. <a id="Ext.form.ComboBox-pageSize"></a>
  612. <b>pageSize</b> : Number <div class="mdesc">
  613. <div class="short">If greater than 0, a paging toolbar is displayed in the footer of the dropdown list and the filter queries will execu...</div>
  614. <div class="long">
  615. If greater than 0, a paging toolbar is displayed in the footer of the dropdown list and the filter queries will execute with page start and limit parameters. Only applies when mode = 'remote' (defaults to 0) </div>
  616. </div>
  617. </td>
  618. <td class="msource">ComboBox</td>
  619. </tr>
  620. <tr class="config-row inherited alt expandable">
  621. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  622. <td class="sig">
  623. <a id="Ext.form.ComboBox-plugins"></a>
  624. <b>plugins</b> : Object/Array <div class="mdesc">
  625. <div class="short">An object or array of objects that will provide custom functionality for this component. The only requirement for a v...</div>
  626. <div class="long">
  627. 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>
  628. </div>
  629. </td>
  630. <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>
  631. </tr>
  632. <tr class="config-row expandable">
  633. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  634. <td class="sig">
  635. <a id="Ext.form.ComboBox-queryDelay"></a>
  636. <b>queryDelay</b> : Number <div class="mdesc">
  637. <div class="short">The length of time in milliseconds to delay between the start of typing and sending the query to filter the dropdown ...</div>
  638. <div class="long">
  639. The length of time in milliseconds to delay between the start of typing and sending the query to filter the dropdown list (defaults to 500 if mode = 'remote' or 10 if mode = 'local') </div>
  640. </div>
  641. </td>
  642. <td class="msource">ComboBox</td>
  643. </tr>
  644. <tr class="config-row alt">
  645. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  646. <td class="sig">
  647. <a id="Ext.form.ComboBox-queryParam"></a>
  648. <b>queryParam</b> : String <div class="mdesc">
  649. Name of the query as it will be passed on the querystring (defaults to 'query') </div>
  650. </td>
  651. <td class="msource">ComboBox</td>
  652. </tr>
  653. <tr class="config-row inherited expandable">
  654. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  655. <td class="sig">
  656. <a id="Ext.form.ComboBox-readOnly"></a>
  657. <b>readOnly</b> : Boolean <div class="mdesc">
  658. <div class="short">True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM att...</div>
  659. <div class="long">
  660. True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute. </div>
  661. </div>
  662. </td>
  663. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#readOnly" href="output/Ext.form.Field.html#readOnly">Field</a></td>
  664. </tr>
  665. <tr class="config-row inherited alt expandable">
  666. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  667. <td class="sig">
  668. <a id="Ext.form.ComboBox-regex"></a>
  669. <b>regex</b> : RegExp <div class="mdesc">
  670. <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null). If available, t...</div>
  671. <div class="long">
  672. A JavaScript RegExp object to be tested against the field value during validation (defaults to null). If available, this regex will be evaluated only after the basic validators all return true, and will be passed the current field value. If the test fails, the field will be marked invalid using <a ext:cls="Ext.form.TextField" ext:member="regexText" href="output/Ext.form.TextField.html#regexText">regexText</a>. </div>
  673. </div>
  674. </td>
  675. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#regex" href="output/Ext.form.TextField.html#regex">TextField</a></td>
  676. </tr>
  677. <tr class="config-row inherited">
  678. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  679. <td class="sig">
  680. <a id="Ext.form.ComboBox-regexText"></a>
  681. <b>regexText</b> : String <div class="mdesc">
  682. The error text to display if <a ext:cls="Ext.form.TextField" ext:member="regex" href="output/Ext.form.TextField.html#regex">regex</a> is used and the test fails during validation (defaults to "") </div>
  683. </td>
  684. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#regexText" href="output/Ext.form.TextField.html#regexText">TextField</a></td>
  685. </tr>
  686. <tr class="config-row inherited alt expandable">
  687. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  688. <td class="sig">
  689. <a id="Ext.form.ComboBox-renderTo"></a>
  690. <b>renderTo</b> : Mixed <div class="mdesc">
  691. <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>
  692. <div class="long">
  693. 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>
  694. </div>
  695. </td>
  696. <td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>
  697. </tr>
  698. <tr class="config-row">
  699. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  700. <td class="sig">
  701. <a id="Ext.form.ComboBox-resizable"></a>
  702. <b>resizable</b> : Boolean <div class="mdesc">
  703. True to add a resize handle to the bottom of the dropdown list (defaults to false) </div>
  704. </td>
  705. <td class="msource">ComboBox</td>
  706. </tr>
  707. <tr class="config-row alt expandable">
  708. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  709. <td class="sig">
  710. <a id="Ext.form.ComboBox-selectOnFocus"></a>
  711. <b>selectOnFocus</b> : Boolean <div class="mdesc">
  712. <div class="short">True to select any existing text in the field immediately on focus. Only applies when editable = true (defaults to fa...</div>
  713. <div class="long">
  714. True to select any existing text in the field immediately on focus. Only applies when editable = true (defaults to false) </div>
  715. </div>
  716. </td>
  717. <td class="msource">ComboBox</td>
  718. </tr>
  719. <tr class="config-row">
  720. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  721. <td class="sig">
  722. <a id="Ext.form.ComboBox-selectedClass"></a>
  723. <b>selectedClass</b> : String <div class="mdesc">
  724. CSS class to apply to the selected item in the dropdown list (defaults to 'x-combo-selected') </div>
  725. </td>
  726. <td class="msource">ComboBox</td>
  727. </tr>
  728. <tr class="config-row alt">
  729. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  730. <td class="sig">
  731. <a id="Ext.form.ComboBox-shadow"></a>
  732. <b>shadow</b> : Boolean/String <div class="mdesc">
  733. True or "sides" for the default effect, "frame" for 4-way shadow, and "drop" for bottom-right </div>
  734. </td>
  735. <td class="msource">ComboBox</td>
  736. </tr>
  737. <tr class="config-row inherited expandable">
  738. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  739. <td class="sig">
  740. <a id="Ext.form.ComboBox-stateEvents"></a>
  741. <b>stateEvents</b> : Array <div class="mdesc">
  742. <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>
  743. <div class="long">
  744. 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>
  745. </div>
  746. </td>
  747. <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>
  748. </tr>
  749. <tr class="config-row inherited alt">
  750. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  751. <td class="sig">
  752. <a id="Ext.form.ComboBox-stateId"></a>
  753. <b>stateId</b> : String <div class="mdesc">
  754. The unique id for this component to use for state management purposes (defaults to the component id). </div>
  755. </td>
  756. <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>
  757. </tr>
  758. <tr class="config-row">
  759. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  760. <td class="sig">
  761. <a id="Ext.form.ComboBox-store"></a>
  762. <b>store</b> : Ext.data.Store <div class="mdesc">
  763. The data store to which this combo is bound (defaults to undefined) </div>
  764. </td>
  765. <td class="msource">ComboBox</td>
  766. </tr>
  767. <tr class="config-row inherited alt expandable">
  768. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  769. <td class="sig">
  770. <a id="Ext.form.ComboBox-style"></a>
  771. <b>style</b> : String <div class="mdesc">
  772. <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>
  773. <div class="long">
  774. 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>
  775. </div>
  776. </td>
  777. <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
  778. </tr>
  779. <tr class="config-row inherited expandable">
  780. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  781. <td class="sig">
  782. <a id="Ext.form.ComboBox-tabIndex"></a>
  783. <b>tabIndex</b> : Number <div class="mdesc">
  784. <div class="short">The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyT...</div>
  785. <div class="long">
  786. The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined). </div>
  787. </div>
  788. </td>
  789. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#tabIndex" href="output/Ext.form.Field.html#tabIndex">Field</a></td>
  790. </tr>
  791. <tr class="config-row alt expandable">
  792. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  793. <td class="sig">
  794. <a id="Ext.form.ComboBox-title"></a>
  795. <b>title</b> : String <div class="mdesc">
  796. <div class="short">If supplied, a header element is created containing this text and added into the top of the dropdown list (defaults t...</div>
  797. <div class="long">
  798. If supplied, a header element is created containing this text and added into the top of the dropdown list (defaults to undefined, with no header element) </div>
  799. </div>
  800. </td>
  801. <td class="msource">ComboBox</td>
  802. </tr>
  803. <tr class="config-row expandable">
  804. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  805. <td class="sig">
  806. <a id="Ext.form.ComboBox-tpl"></a>
  807. <b>tpl</b> : String/Ext.XTemplate <div class="mdesc">
  808. <div class="short">The template string, or Ext.XTemplate instance to use to display each item in the dropdown list. Use this to create c...</div>
  809. <div class="long">
  810. The template string, or <a ext:cls="Ext.XTemplate" href="output/Ext.XTemplate.html">Ext.XTemplate</a> instance to use to display each item in the dropdown list. Use this to create custom UI layouts for items in the list. <p> If you wish to preserve the default visual look of list items, add the CSS class name <pre>x-combo-list-item</pre> to the template's container element. <p> <b>The template must contain one or more substitution parameters using field names from the Combo's</b> <a ext:cls="Ext.form.ComboBox" ext:member="store" href="output/Ext.form.ComboBox.html#store">Store</a>. An example of a custom template would be adding an <pre>ext:qtip</pre> attribute which might display other fields from the Store. <p> The dropdown list is displayed in a DataView. See <a ext:cls="Ext.DataView" href="output/Ext.DataView.html">Ext.DataView</a> for details. </div>
  811. </div>
  812. </td>
  813. <td class="msource">ComboBox</td>
  814. </tr>
  815. <tr class="config-row alt">
  816. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  817. <td class="sig">
  818. <a id="Ext.form.ComboBox-transform"></a>
  819. <b>transform</b> : Mixed <div class="mdesc">
  820. The id, DOM node or element of an existing select to convert to a ComboBox </div>
  821. </td>
  822. <td class="msource">ComboBox</td>
  823. </tr>
  824. <tr class="config-row expandable">
  825. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  826. <td class="sig">
  827. <a id="Ext.form.ComboBox-triggerAction"></a>
  828. <b>triggerAction</b> : String <div class="mdesc">
  829. <div class="short">The action to execute when the trigger field is activated. Use 'all' to run the query specified by the allQuery confi...</div>
  830. <div class="long">
  831. The action to execute when the trigger field is activated. Use 'all' to run the query specified by the allQuery config option (defaults to 'query') </div>
  832. </div>
  833. </td>
  834. <td class="msource">ComboBox</td>
  835. </tr>
  836. <tr class="config-row alt expandable">
  837. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  838. <td class="sig">
  839. <a id="Ext.form.ComboBox-triggerClass"></a>
  840. <b>triggerClass</b> : String <div class="mdesc">
  841. <div class="short">An additional CSS class used to style the trigger button. The trigger will always get the class 'x-form-trigger' and ...</div>
  842. <div class="long">
  843. An additional CSS class used to style the trigger button. The trigger will always get the class 'x-form-trigger' and triggerClass will be <b>appended</b> if specified (defaults to 'x-form-arrow-trigger' which displays a downward arrow icon). </div>
  844. </div>
  845. </td>
  846. <td class="msource">ComboBox</td>
  847. </tr>
  848. <tr class="config-row expandable">
  849. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  850. <td class="sig">
  851. <a id="Ext.form.ComboBox-typeAhead"></a>
  852. <b>typeAhead</b> : Boolean <div class="mdesc">
  853. <div class="short">True to populate and autoselect the remainder of the text being typed after a configurable delay (typeAheadDelay) if ...</div>
  854. <div class="long">
  855. True to populate and autoselect the remainder of the text being typed after a configurable delay (typeAheadDelay) if it matches a known value (defaults to false) </div>
  856. </div>
  857. </td>
  858. <td class="msource">ComboBox</td>
  859. </tr>
  860. <tr class="config-row alt">
  861. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  862. <td class="sig">
  863. <a id="Ext.form.ComboBox-typeAheadDelay"></a>
  864. <b>typeAheadDelay</b> : Number <div class="mdesc">
  865. The length of time in milliseconds to wait until the typeahead text is displayed if typeAhead = true (defaults to 250) </div>
  866. </td>
  867. <td class="msource">ComboBox</td>
  868. </tr>
  869. <tr class="config-row inherited">
  870. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  871. <td class="sig">
  872. <a id="Ext.form.ComboBox-validateOnBlur"></a>
  873. <b>validateOnBlur</b> : Boolean <div class="mdesc">
  874. Whether the field should validate when it loses focus (defaults to true). </div>
  875. </td>
  876. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#validateOnBlur" href="output/Ext.form.Field.html#validateOnBlur">Field</a></td>
  877. </tr>
  878. <tr class="config-row inherited alt">
  879. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  880. <td class="sig">
  881. <a id="Ext.form.ComboBox-validationDelay"></a>
  882. <b>validationDelay</b> : Number <div class="mdesc">
  883. The length of time in milliseconds after user input begins until validation is initiated (defaults to 250) </div>
  884. </td>
  885. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#validationDelay" href="output/Ext.form.Field.html#validationDelay">Field</a></td>
  886. </tr>
  887. <tr class="config-row inherited">
  888. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  889. <td class="sig">
  890. <a id="Ext.form.ComboBox-validationEvent"></a>
  891. <b>validationEvent</b> : String/Boolean <div class="mdesc">
  892. The event that should initiate field validation. Set to false to disable automatic validation (defaults to "keyup"). </div>
  893. </td>
  894. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#validationEvent" href="output/Ext.form.Field.html#validationEvent">Field</a></td>
  895. </tr>
  896. <tr class="config-row inherited alt expandable">
  897. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  898. <td class="sig">
  899. <a id="Ext.form.ComboBox-validator"></a>
  900. <b>validator</b> : Function <div class="mdesc">
  901. <div class="short">A custom validation function to be called during field validation (defaults to null). If available, this function wil...</div>
  902. <div class="long">
  903. A custom validation function to be called during field validation (defaults to null). If available, this function will be called only after the basic validators all return true, and will be passed the current field value and expected to return boolean true if the value is valid or a string error message if invalid. </div>
  904. </div>
  905. </td>
  906. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#validator" href="output/Ext.form.TextField.html#validator">TextField</a></td>
  907. </tr>
  908. <tr class="config-row inherited">
  909. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  910. <td class="sig">
  911. <a id="Ext.form.ComboBox-value"></a>
  912. <b>value</b> : Mixed <div class="mdesc">
  913. A value to initialize this field with. </div>
  914. </td>
  915. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#value" href="output/Ext.form.Field.html#value">Field</a></td>
  916. </tr>
  917. <tr class="config-row alt expandable">
  918. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  919. <td class="sig">
  920. <a id="Ext.form.ComboBox-valueField"></a>
  921. <b>valueField</b> : String <div class="mdesc">
  922. <div class="short">The underlying data value name to bind to this ComboBox (defaults to undefined if mode = 'remote' or 'value' if trans...</div>
  923. <div class="long">
  924. The underlying data value name to bind to this ComboBox (defaults to undefined if mode = 'remote' or 'value' if transforming a select) Note: use of a valueField requires the user to make a selection in order for a value to be mapped. </div>
  925. </div>
  926. </td>
  927. <td class="msource">ComboBox</td>
  928. </tr>
  929. <tr class="config-row expandable">
  930. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  931. <td class="sig">
  932. <a id="Ext.form.ComboBox-valueNotFoundText"></a>
  933. <b>valueNotFoundText</b> : String <div class="mdesc">
  934. <div class="short">When using a name/value combo, if the value passed to setValue is not found in the store, valueNotFoundText will be d...</div>
  935. <div class="long">
  936. When using a name/value combo, if the value passed to setValue is not found in the store, valueNotFoundText will be displayed as the field text if defined (defaults to undefined) </div>
  937. </div>
  938. </td>
  939. <td class="msource">ComboBox</td>
  940. </tr>
  941. <tr class="config-row inherited alt">
  942. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  943. <td class="sig">
  944. <a id="Ext.form.ComboBox-vtype"></a>
  945. <b>vtype</b> : String <div class="mdesc">
  946. A validation type name as defined in <a ext:cls="Ext.form.VTypes" href="output/Ext.form.VTypes.html">Ext.form.VTypes</a> (defaults to null) </div>
  947. </td>
  948. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#vtype" href="output/Ext.form.TextField.html#vtype">TextField</a></td>
  949. </tr>
  950. <tr class="config-row inherited expandable">
  951. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  952. <td class="sig">
  953. <a id="Ext.form.ComboBox-vtypeText"></a>
  954. <b>vtypeText</b> : String <div class="mdesc">
  955. <div class="short">A custom error message to display in place of the default message provided for the vtype currently set for this field...</div>
  956. <div class="long">
  957. A custom error message to display in place of the default message provided for the <a ext:cls="Ext.form.TextField" ext:member="vtype" href="output/Ext.form.TextField.html#vtype">vtype</a> currently set for this field (defaults to ''). Only applies if vtype is set, else ignored. </div>
  958. </div>
  959. </td>
  960. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#vtypeText" href="output/Ext.form.TextField.html#vtypeText">TextField</a></td>
  961. </tr>
  962. <tr class="config-row inherited alt">
  963. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  964. <td class="sig">
  965. <a id="Ext.form.ComboBox-width"></a>
  966. <b>width</b> : Number <div class="mdesc">
  967. The width of this component in pixels (defaults to auto). </div>
  968. </td>
  969. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#width" href="output/Ext.BoxComponent.html#width">BoxComponent</a></td>
  970. </tr>
  971. <tr class="config-row inherited expandable">
  972. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  973. <td class="sig">
  974. <a id="Ext.form.ComboBox-xtype"></a>
  975. <b>xtype</b> : String <div class="mdesc">
  976. <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>
  977. <div class="long">
  978. 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>
  979. </div>
  980. </td>
  981. <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>
  982. </tr>
  983. </table>
  984. <a id="Ext.form.ComboBox-props"></a>
  985. <h2>Public Properties</h2>
  986. <table cellspacing="0" class="member-table">
  987. <tr>
  988. <th class="sig-header" colspan="2">Property</th>
  989. <th class="msource-header">Defined By</th>
  990. </tr>
  991. <tr class="property-row inherited">
  992. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  993. <td class="sig">
  994. <a id="Ext.form.ComboBox-disabled"></a>
  995. <b>disabled</b> : Boolean <div class="mdesc">
  996. True if this component is disabled. Read-only. </div>
  997. </td>
  998. <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
  999. </tr>
  1000. <tr class="property-row inherited alt">
  1001. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1002. <td class="sig">
  1003. <a id="Ext.form.ComboBox-hidden"></a>
  1004. <b>hidden</b> : Boolean <div class="mdesc">
  1005. True if this component is hidden. Read-only. </div>
  1006. </td>
  1007. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
  1008. </tr>
  1009. <tr class="property-row inherited">
  1010. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1011. <td class="sig">
  1012. <a id="Ext.form.ComboBox-initialConfig"></a>
  1013. <b>initialConfig</b> : Object <div class="mdesc">
  1014. This Component's initial configuration specification. Read-only. </div>
  1015. </td>
  1016. <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>
  1017. </tr>
  1018. <tr class="property-row inherited alt expandable">
  1019. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1020. <td class="sig">
  1021. <a id="Ext.form.ComboBox-ownerCt"></a>
  1022. <b>ownerCt</b> : Ext.Container <div class="mdesc">
  1023. <div class="short">The component's owner Ext.Container (defaults to undefined, and is set automatically when
  1024. the component is added to a...</div>
  1025. <div class="long">
  1026. 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
  1027. the component is added to a container). Read-only. </div>
  1028. </div>
  1029. </td>
  1030. <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>
  1031. </tr>
  1032. <tr class="property-row inherited">
  1033. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1034. <td class="sig">
  1035. <a id="Ext.form.ComboBox-rendered"></a>
  1036. <b>rendered</b> : Boolean <div class="mdesc">
  1037. True if this component has been rendered. Read-only. </div>
  1038. </td>
  1039. <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>
  1040. </tr>
  1041. <tr class="property-row alt">
  1042. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1043. <td class="sig">
  1044. <a id="Ext.form.ComboBox-view"></a>
  1045. <b>view</b> : Ext.DataView <div class="mdesc">
  1046. The <a ext:cls="Ext.DataView" href="output/Ext.DataView.html">DataView</a> used to display the ComboBox's options. </div>
  1047. </td>
  1048. <td class="msource">ComboBox</td>
  1049. </tr>
  1050. </table>
  1051. <a id="Ext.form.ComboBox-methods"></a>
  1052. <h2>Public Methods</h2>
  1053. <table cellspacing="0" class="member-table">
  1054. <tr>
  1055. <th class="sig-header" colspan="2">Method</th>
  1056. <th class="msource-header">Defined By</th>
  1057. </tr>
  1058. <tr class="method-row expandable">
  1059. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1060. <td class="sig">
  1061. <a id="Ext.form.ComboBox-ComboBox"></a>
  1062. <b>ComboBox</b>(&nbsp;<code>Object config</code>&nbsp;) <div class="mdesc">
  1063. <div class="short">Create a new ComboBox.</div>
  1064. <div class="long">
  1065. Create a new ComboBox. <div class="mdetail-params">
  1066. <strong>Parameters:</strong>
  1067. <ul><li><code>config</code> : Object<div class="sub-desc">Configuration options</div></li> </ul>
  1068. <strong>Returns:</strong>
  1069. <ul>
  1070. <li><code></code></li>
  1071. </ul>
  1072. </div>
  1073. </div>
  1074. </div>
  1075. </td>
  1076. <td class="msource">ComboBox</td>
  1077. </tr>
  1078. <tr class="method-row inherited alt expandable">
  1079. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1080. <td class="sig">
  1081. <a id="Ext.form.ComboBox-addClass"></a>
  1082. <b>addClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void <div class="mdesc">
  1083. <div class="short">Adds a CSS class to the component's underlying element.</div>
  1084. <div class="long">
  1085. Adds a CSS class to the component's underlying element. <div class="mdetail-params">
  1086. <strong>Parameters:</strong>
  1087. <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to add</div></li> </ul>
  1088. <strong>Returns:</strong>
  1089. <ul>
  1090. <li><code>void</code></li>
  1091. </ul>
  1092. </div>
  1093. </div>
  1094. </div>
  1095. </td>
  1096. <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>
  1097. </tr>
  1098. <tr class="method-row inherited expandable">
  1099. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1100. <td class="sig">
  1101. <a id="Ext.form.ComboBox-addEvents"></a>
  1102. <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void <div class="mdesc">
  1103. <div class="short">Used to define events on this Observable</div>
  1104. <div class="long">
  1105. Used to define events on this Observable <div class="mdetail-params">
  1106. <strong>Parameters:</strong>
  1107. <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li> </ul>
  1108. <strong>Returns:</strong>
  1109. <ul>
  1110. <li><code>void</code></li>
  1111. </ul>
  1112. </div>
  1113. </div>
  1114. </div>
  1115. </td>
  1116. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
  1117. </tr>
  1118. <tr class="method-row inherited alt expandable">
  1119. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1120. <td class="sig">
  1121. <a id="Ext.form.ComboBox-addListener"></a>
  1122. <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">
  1123. <div class="short">Appends an event handler to this component</div>
  1124. <div class="long">
  1125. Appends an event handler to this component <div class="mdetail-params">
  1126. <strong>Parameters:</strong>
  1127. <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
  1128. function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
  1129. properties. This may contain any of the following properties:<ul>
  1130. <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>
  1131. <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>
  1132. <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>
  1133. <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
  1134. by the specified number of milliseconds. If the event fires again within that time, the original
  1135. handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>
  1136. </ul><br>
  1137. <p>
  1138. <b>Combining Options</b><br>
  1139. Using the options argument, it is possible to combine different types of listeners:<br>
  1140. <br>
  1141. A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
  1142. <pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
  1143. single: true,
  1144. delay: 100,
  1145. forumId: 4
  1146. });</code></pre>
  1147. <p>
  1148. <b>Attaching multiple handlers in 1 call</b><br>
  1149. The method also allows for a single argument to be passed which is a config object containing properties
  1150. which specify multiple handlers.
  1151. <p>
  1152. <pre><code>foo.on({
  1153. <em>'click'</em> : {
  1154. fn: <b>this</b>.onClick,
  1155. scope: <b>this</b>,
  1156. delay: 100
  1157. },
  1158. <em>'mouseover'</em> : {
  1159. fn: <b>this</b>.onMouseOver,
  1160. scope: <b>this</b>
  1161. },
  1162. <em>'mouseout'</em> : {
  1163. fn: <b>this</b>.onMouseOut,
  1164. scope: <b>this</b>
  1165. }
  1166. });</code></pre>
  1167. <p>
  1168. Or a shorthand syntax:<br>
  1169. <pre><code>foo.on({
  1170. <em>'click'</em> : <b>this</b>.onClick,
  1171. <em>'mouseover'</em> : <b>this</b>.onMouseOver,
  1172. <em>'mouseout'</em> : <b>this</b>.onMouseOut,
  1173. scope: <b>this</b>
  1174. });</code></pre></div></li> </ul>
  1175. <strong>Returns:</strong>
  1176. <ul>
  1177. <li><code>void</code></li>
  1178. </ul>
  1179. </div>
  1180. </div>
  1181. </div>
  1182. </td>
  1183. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
  1184. </tr>
  1185. <tr class="method-row inherited expandable">
  1186. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1187. <td class="sig">
  1188. <a id="Ext.form.ComboBox-applyToMarkup"></a>
  1189. <b>applyToMarkup</b>(&nbsp;<code>String/HTMLElement el</code>&nbsp;) : void <div class="mdesc">
  1190. <div class="short">Apply this component to existing markup that is valid. With this function, no call to render() is required.</div>
  1191. <div class="long">
  1192. Apply this component to existing markup that is valid. With this function, no call to render() is required. <div class="mdetail-params">
  1193. <strong>Parameters:</strong>
  1194. <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc"></div></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.Component" ext:member="#applyToMarkup" href="output/Ext.Component.html#applyToMarkup">Component</a></td>
  1204. </tr>
  1205. <tr class="method-row inherited alt expandable">
  1206. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1207. <td class="sig">
  1208. <a id="Ext.form.ComboBox-clearInvalid"></a>
  1209. <b>clearInvalid</b>() : void <div class="mdesc">
  1210. <div class="short">Clear any invalid styles/messages for this field</div>
  1211. <div class="long">
  1212. Clear any invalid styles/messages for this field <div class="mdetail-params">
  1213. <strong>Parameters:</strong>
  1214. <ul><li>None.</li> </ul>
  1215. <strong>Returns:</strong>
  1216. <ul>
  1217. <li><code>void</code></li>
  1218. </ul>
  1219. </div>
  1220. </div>
  1221. </div>
  1222. </td>
  1223. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#clearInvalid" href="output/Ext.form.Field.html#clearInvalid">Field</a></td>
  1224. </tr>
  1225. <tr class="method-row expandable">
  1226. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1227. <td class="sig">
  1228. <a id="Ext.form.ComboBox-clearValue"></a>
  1229. <b>clearValue</b>() : void <div class="mdesc">
  1230. <div class="short">Clears any text/value currently set in the field</div>
  1231. <div class="long">
  1232. Clears any text/value currently set in the field <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">ComboBox</td>
  1244. </tr>
  1245. <tr class="method-row inherited alt expandable">
  1246. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1247. <td class="sig">
  1248. <a id="Ext.form.ComboBox-cloneConfig"></a>
  1249. <b>cloneConfig</b>(&nbsp;<code>Object overrides</code>&nbsp;) : Ext.Component <div class="mdesc">
  1250. <div class="short">Clone the current component using the original config values passed into this instance by default.</div>
  1251. <div class="long">
  1252. Clone the current component using the original config values passed into this instance by default. <div class="mdetail-params">
  1253. <strong>Parameters:</strong>
  1254. <ul><li><code>overrides</code> : Object<div class="sub-desc">A new config containing any properties to override in the cloned version.
  1255. An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</div></li> </ul>
  1256. <strong>Returns:</strong>
  1257. <ul>
  1258. <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>
  1259. </ul>
  1260. </div>
  1261. </div>
  1262. </div>
  1263. </td>
  1264. <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>
  1265. </tr>
  1266. <tr class="method-row expandable">
  1267. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1268. <td class="sig">
  1269. <a id="Ext.form.ComboBox-collapse"></a>
  1270. <b>collapse</b>() : void <div class="mdesc">
  1271. <div class="short">Hides the dropdown list if it is currently expanded. Fires the 'collapse' event on completion.</div>
  1272. <div class="long">
  1273. Hides the dropdown list if it is currently expanded. Fires the 'collapse' event on completion. <div class="mdetail-params">
  1274. <strong>Parameters:</strong>
  1275. <ul><li>None.</li> </ul>
  1276. <strong>Returns:</strong>
  1277. <ul>
  1278. <li><code>void</code></li>
  1279. </ul>
  1280. </div>
  1281. </div>
  1282. </div>
  1283. </td>
  1284. <td class="msource">ComboBox</td>
  1285. </tr>
  1286. <tr class="method-row inherited alt expandable">
  1287. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1288. <td class="sig">
  1289. <a id="Ext.form.ComboBox-destroy"></a>
  1290. <b>destroy</b>() : void <div class="mdesc">
  1291. <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,
  1292. removing the c...</div>
  1293. <div class="long">
  1294. Destroys this component by purging any event listeners, removing the component's element from the DOM,
  1295. removing the component from its <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (if applicable) and unregistering it from
  1296. <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>. Destruction is generally handled automatically by the framework and this method
  1297. should usually not need to be called directly. <div class="mdetail-params">
  1298. <strong>Parameters:</strong>
  1299. <ul><li>None.</li> </ul>
  1300. <strong>Returns:</strong>
  1301. <ul>
  1302. <li><code>void</code></li>
  1303. </ul>
  1304. </div>
  1305. </div>
  1306. </div>
  1307. </td>
  1308. <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>
  1309. </tr>
  1310. <tr class="method-row inherited expandable">
  1311. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1312. <td class="sig">
  1313. <a id="Ext.form.ComboBox-disable"></a>
  1314. <b>disable</b>() : Ext.Component <div class="mdesc">
  1315. <div class="short">Disable this component.</div>
  1316. <div class="long">
  1317. Disable this component. <div class="mdetail-params">
  1318. <strong>Parameters:</strong>
  1319. <ul><li>None.</li> </ul>
  1320. <strong>Returns:</strong>
  1321. <ul>
  1322. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  1323. </ul>
  1324. </div>
  1325. </div>
  1326. </div>
  1327. </td>
  1328. <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>
  1329. </tr>
  1330. <tr class="method-row alt expandable">
  1331. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1332. <td class="sig">
  1333. <a id="Ext.form.ComboBox-doQuery"></a>
  1334. <b>doQuery</b>(&nbsp;<code>String query</code>, <code>Boolean forceAll</code>&nbsp;) : void <div class="mdesc">
  1335. <div class="short">Execute a query to filter the dropdown list. Fires the beforequery event prior to performing the
  1336. query allowing the ...</div>
  1337. <div class="long">
  1338. Execute a query to filter the dropdown list. Fires the beforequery event prior to performing the
  1339. query allowing the query action to be canceled if needed. <div class="mdetail-params">
  1340. <strong>Parameters:</strong>
  1341. <ul><li><code>query</code> : String<div class="sub-desc">The SQL query to execute</div></li><li><code>forceAll</code> : Boolean<div class="sub-desc">True to force the query to execute even if there are currently fewer characters
  1342. in the field than the minimum specified by the minChars config option. It also clears any filter previously
  1343. saved in the current store (defaults to false)</div></li> </ul>
  1344. <strong>Returns:</strong>
  1345. <ul>
  1346. <li><code>void</code></li>
  1347. </ul>
  1348. </div>
  1349. </div>
  1350. </div>
  1351. </td>
  1352. <td class="msource">ComboBox</td>
  1353. </tr>
  1354. <tr class="method-row inherited expandable">
  1355. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1356. <td class="sig">
  1357. <a id="Ext.form.ComboBox-enable"></a>
  1358. <b>enable</b>() : Ext.Component <div class="mdesc">
  1359. <div class="short">Enable this component.</div>
  1360. <div class="long">
  1361. Enable this component. <div class="mdetail-params">
  1362. <strong>Parameters:</strong>
  1363. <ul><li>None.</li> </ul>
  1364. <strong>Returns:</strong>
  1365. <ul>
  1366. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  1367. </ul>
  1368. </div>
  1369. </div>
  1370. </div>
  1371. </td>
  1372. <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>
  1373. </tr>
  1374. <tr class="method-row alt expandable">
  1375. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1376. <td class="sig">
  1377. <a id="Ext.form.ComboBox-expand"></a>
  1378. <b>expand</b>() : void <div class="mdesc">
  1379. <div class="short">Expands the dropdown list if it is currently hidden. Fires the 'expand' event on completion.</div>
  1380. <div class="long">
  1381. Expands the dropdown list if it is currently hidden. Fires the 'expand' event on completion. <div class="mdetail-params">
  1382. <strong>Parameters:</strong>
  1383. <ul><li>None.</li> </ul>
  1384. <strong>Returns:</strong>
  1385. <ul>
  1386. <li><code>void</code></li>
  1387. </ul>
  1388. </div>
  1389. </div>
  1390. </div>
  1391. </td>
  1392. <td class="msource">ComboBox</td>
  1393. </tr>
  1394. <tr class="method-row inherited expandable">
  1395. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1396. <td class="sig">
  1397. <a id="Ext.form.ComboBox-fireEvent"></a>
  1398. <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean <div class="mdesc">
  1399. <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
  1400. <div class="long">
  1401. Fires the specified event with the passed parameters (minus the event name). <div class="mdetail-params">
  1402. <strong>Parameters:</strong>
  1403. <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>
  1404. <strong>Returns:</strong>
  1405. <ul>
  1406. <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
  1407. </ul>
  1408. </div>
  1409. </div>
  1410. </div>
  1411. </td>
  1412. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
  1413. </tr>
  1414. <tr class="method-row inherited alt expandable">
  1415. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1416. <td class="sig">
  1417. <a id="Ext.form.ComboBox-focus"></a>
  1418. <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">
  1419. <div class="short">Try to focus this component.</div>
  1420. <div class="long">
  1421. Try to focus this component. <div class="mdetail-params">
  1422. <strong>Parameters:</strong>
  1423. <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>
  1424. <strong>Returns:</strong>
  1425. <ul>
  1426. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  1427. </ul>
  1428. </div>
  1429. </div>
  1430. </div>
  1431. </td>
  1432. <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>
  1433. </tr>
  1434. <tr class="method-row inherited expandable">
  1435. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1436. <td class="sig">
  1437. <a id="Ext.form.ComboBox-getBox"></a>
  1438. <b>getBox</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Object <div class="mdesc">
  1439. <div class="short">Gets the current box measurements of the component's underlying element.</div>
  1440. <div class="long">
  1441. Gets the current box measurements of the component's underlying element. <div class="mdetail-params">
  1442. <strong>Parameters:</strong>
  1443. <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>
  1444. <strong>Returns:</strong>
  1445. <ul>
  1446. <li><code>Object</code><div class="sub-desc">box An object in the format {x, y, width, height}</div></li>
  1447. </ul>
  1448. </div>
  1449. </div>
  1450. </div>
  1451. </td>
  1452. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getBox" href="output/Ext.BoxComponent.html#getBox">BoxComponent</a></td>
  1453. </tr>
  1454. <tr class="method-row inherited alt expandable">
  1455. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1456. <td class="sig">
  1457. <a id="Ext.form.ComboBox-getEl"></a>
  1458. <b>getEl</b>() : Ext.Element <div class="mdesc">
  1459. <div class="short">Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>
  1460. <div class="long">
  1461. Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>. <div class="mdetail-params">
  1462. <strong>Parameters:</strong>
  1463. <ul><li>None.</li> </ul>
  1464. <strong>Returns:</strong>
  1465. <ul>
  1466. <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>
  1467. </ul>
  1468. </div>
  1469. </div>
  1470. </div>
  1471. </td>
  1472. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>
  1473. </tr>
  1474. <tr class="method-row inherited expandable">
  1475. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1476. <td class="sig">
  1477. <a id="Ext.form.ComboBox-getId"></a>
  1478. <b>getId</b>() : String <div class="mdesc">
  1479. <div class="short">Returns the id of this component.</div>
  1480. <div class="long">
  1481. Returns the id of this component. <div class="mdetail-params">
  1482. <strong>Parameters:</strong>
  1483. <ul><li>None.</li> </ul>
  1484. <strong>Returns:</strong>
  1485. <ul>
  1486. <li><code>String</code></li>
  1487. </ul>
  1488. </div>
  1489. </div>
  1490. </div>
  1491. </td>
  1492. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>
  1493. </tr>
  1494. <tr class="method-row inherited alt expandable">
  1495. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1496. <td class="sig">
  1497. <a id="Ext.form.ComboBox-getItemId"></a>
  1498. <b>getItemId</b>() : String <div class="mdesc">
  1499. <div class="short">Returns the item id of this component.</div>
  1500. <div class="long">
  1501. Returns the item id of this component. <div class="mdetail-params">
  1502. <strong>Parameters:</strong>
  1503. <ul><li>None.</li> </ul>
  1504. <strong>Returns:</strong>
  1505. <ul>
  1506. <li><code>String</code></li>
  1507. </ul>
  1508. </div>
  1509. </div>
  1510. </div>
  1511. </td>
  1512. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>
  1513. </tr>
  1514. <tr class="method-row inherited expandable">
  1515. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1516. <td class="sig">
  1517. <a id="Ext.form.ComboBox-getName"></a>
  1518. <b>getName</b>() : String <div class="mdesc">
  1519. <div class="short">Returns the name attribute of the field if available</div>
  1520. <div class="long">
  1521. Returns the name attribute of the field if available <div class="mdetail-params">
  1522. <strong>Parameters:</strong>
  1523. <ul><li>None.</li> </ul>
  1524. <strong>Returns:</strong>
  1525. <ul>
  1526. <li><code>String</code><div class="sub-desc">name The field name</div></li>
  1527. </ul>
  1528. </div>
  1529. </div>
  1530. </div>
  1531. </td>
  1532. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#getName" href="output/Ext.form.Field.html#getName">Field</a></td>
  1533. </tr>
  1534. <tr class="method-row inherited alt expandable">
  1535. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1536. <td class="sig">
  1537. <a id="Ext.form.ComboBox-getPosition"></a>
  1538. <b>getPosition</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Array <div class="mdesc">
  1539. <div class="short">Gets the current XY position of the component's underlying element.</div>
  1540. <div class="long">
  1541. Gets the current XY position of the component's underlying element. <div class="mdetail-params">
  1542. <strong>Parameters:</strong>
  1543. <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>
  1544. <strong>Returns:</strong>
  1545. <ul>
  1546. <li><code>Array</code><div class="sub-desc">The XY position of the element (e.g., [100, 200])</div></li>
  1547. </ul>
  1548. </div>
  1549. </div>
  1550. </div>
  1551. </td>
  1552. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getPosition" href="output/Ext.BoxComponent.html#getPosition">BoxComponent</a></td>
  1553. </tr>
  1554. <tr class="method-row inherited expandable">
  1555. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1556. <td class="sig">
  1557. <a id="Ext.form.ComboBox-getRawValue"></a>
  1558. <b>getRawValue</b>() : Mixed <div class="mdesc">
  1559. <div class="short">Returns the raw data value which may or may not be a valid, defined value. To return a normalized value see <a ext:cls="Ext.form.Field" ext:member="getValue" href="output/Ext.form.Field.html#getValue">getValue</a>.</div>
  1560. <div class="long">
  1561. Returns the raw data value which may or may not be a valid, defined value. To return a normalized value see <a ext:cls="Ext.form.Field" ext:member="getValue" href="output/Ext.form.Field.html#getValue">getValue</a>. <div class="mdetail-params">
  1562. <strong>Parameters:</strong>
  1563. <ul><li>None.</li> </ul>
  1564. <strong>Returns:</strong>
  1565. <ul>
  1566. <li><code>Mixed</code><div class="sub-desc">value The field value</div></li>
  1567. </ul>
  1568. </div>
  1569. </div>
  1570. </div>
  1571. </td>
  1572. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#getRawValue" href="output/Ext.form.Field.html#getRawValue">Field</a></td>
  1573. </tr>
  1574. <tr class="method-row inherited alt expandable">
  1575. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1576. <td class="sig">
  1577. <a id="Ext.form.ComboBox-getSize"></a>
  1578. <b>getSize</b>() : Object <div class="mdesc">
  1579. <div class="short">Gets the current size of the component's underlying element.</div>
  1580. <div class="long">
  1581. Gets the current size of the component's underlying element. <div class="mdetail-params">
  1582. <strong>Parameters:</strong>
  1583. <ul><li>None.</li> </ul>
  1584. <strong>Returns:</strong>
  1585. <ul>
  1586. <li><code>Object</code><div class="sub-desc">An object containing the element's size {width: (element width), height: (element height)}</div></li>
  1587. </ul>
  1588. </div>
  1589. </div>
  1590. </div>
  1591. </td>
  1592. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getSize" href="output/Ext.BoxComponent.html#getSize">BoxComponent</a></td>
  1593. </tr>
  1594. <tr class="method-row expandable">
  1595. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1596. <td class="sig">
  1597. <a id="Ext.form.ComboBox-getValue"></a>
  1598. <b>getValue</b>() : String <div class="mdesc">
  1599. <div class="short">Returns the currently selected field value or empty string if no value is set.</div>
  1600. <div class="long">
  1601. Returns the currently selected field value or empty string if no value is set. <div class="mdetail-params">
  1602. <strong>Parameters:</strong>
  1603. <ul><li>None.</li> </ul>
  1604. <strong>Returns:</strong>
  1605. <ul>
  1606. <li><code>String</code><div class="sub-desc">value The selected value</div></li>
  1607. </ul>
  1608. </div>
  1609. </div>
  1610. </div>
  1611. </td>
  1612. <td class="msource">ComboBox</td>
  1613. </tr>
  1614. <tr class="method-row inherited alt expandable">
  1615. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1616. <td class="sig">
  1617. <a id="Ext.form.ComboBox-getXType"></a>
  1618. <b>getXType</b>() : String <div class="mdesc">
  1619. <div class="short">Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
  1620. available xtypes, see the Ex...</div>
  1621. <div class="long">
  1622. 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
  1623. available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
  1624. <pre><code>var t = <b>new</b> Ext.form.TextField();
  1625. alert(t.getXType()); // alerts <em>'textfield'</em></code></pre> <div class="mdetail-params">
  1626. <strong>Parameters:</strong>
  1627. <ul><li>None.</li> </ul>
  1628. <strong>Returns:</strong>
  1629. <ul>
  1630. <li><code>String</code><div class="sub-desc">The xtype</div></li>
  1631. </ul>
  1632. </div>
  1633. </div>
  1634. </div>
  1635. </td>
  1636. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>
  1637. </tr>
  1638. <tr class="method-row inherited expandable">
  1639. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1640. <td class="sig">
  1641. <a id="Ext.form.ComboBox-getXTypes"></a>
  1642. <b>getXTypes</b>() : String <div class="mdesc">
  1643. <div class="short">Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
  1644. available xtypes, see the Ext...</div>
  1645. <div class="long">
  1646. Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
  1647. available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
  1648. <pre><code>
  1649. var t = new Ext.form.TextField();
  1650. alert(t.getXTypes()); // alerts 'component/box/field/textfield'</pre></code> <div class="mdetail-params">
  1651. <strong>Parameters:</strong>
  1652. <ul><li>None.</li> </ul>
  1653. <strong>Returns:</strong>
  1654. <ul>
  1655. <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>
  1656. </ul>
  1657. </div>
  1658. </div>
  1659. </div>
  1660. </td>
  1661. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>
  1662. </tr>
  1663. <tr class="method-row inherited alt expandable">
  1664. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1665. <td class="sig">
  1666. <a id="Ext.form.ComboBox-hasListener"></a>
  1667. <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean <div class="mdesc">
  1668. <div class="short">Checks to see if this object has any listeners for a specified event</div>
  1669. <div class="long">
  1670. Checks to see if this object has any listeners for a specified event <div class="mdetail-params">
  1671. <strong>Parameters:</strong>
  1672. <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li> </ul>
  1673. <strong>Returns:</strong>
  1674. <ul>
  1675. <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
  1676. </ul>
  1677. </div>
  1678. </div>
  1679. </div>
  1680. </td>
  1681. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
  1682. </tr>
  1683. <tr class="method-row inherited expandable">
  1684. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1685. <td class="sig">
  1686. <a id="Ext.form.ComboBox-hide"></a>
  1687. <b>hide</b>() : Ext.Component <div class="mdesc">
  1688. <div class="short">Hide this component.</div>
  1689. <div class="long">
  1690. Hide this component. <div class="mdetail-params">
  1691. <strong>Parameters:</strong>
  1692. <ul><li>None.</li> </ul>
  1693. <strong>Returns:</strong>
  1694. <ul>
  1695. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  1696. </ul>
  1697. </div>
  1698. </div>
  1699. </div>
  1700. </td>
  1701. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>
  1702. </tr>
  1703. <tr class="method-row inherited alt expandable">
  1704. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1705. <td class="sig">
  1706. <a id="Ext.form.ComboBox-initComponent"></a>
  1707. <b>initComponent</b>() : void <div class="mdesc">
  1708. <div class="short"></div>
  1709. <div class="long">
  1710. <div class="mdetail-params">
  1711. <strong>Parameters:</strong>
  1712. <ul><li>None.</li> </ul>
  1713. <strong>Returns:</strong>
  1714. <ul>
  1715. <li><code>void</code></li>
  1716. </ul>
  1717. </div>
  1718. </div>
  1719. </div>
  1720. </td>
  1721. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#initComponent" href="output/Ext.BoxComponent.html#initComponent">BoxComponent</a></td>
  1722. </tr>
  1723. <tr class="method-row inherited expandable">
  1724. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1725. <td class="sig">
  1726. <a id="Ext.form.ComboBox-isDirty"></a>
  1727. <b>isDirty</b>() : void <div class="mdesc">
  1728. <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
  1729. <div class="long">
  1730. Returns true if this field has been changed since it was originally loaded and is not disabled. <div class="mdetail-params">
  1731. <strong>Parameters:</strong>
  1732. <ul><li>None.</li> </ul>
  1733. <strong>Returns:</strong>
  1734. <ul>
  1735. <li><code>void</code></li>
  1736. </ul>
  1737. </div>
  1738. </div>
  1739. </div>
  1740. </td>
  1741. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#isDirty" href="output/Ext.form.Field.html#isDirty">Field</a></td>
  1742. </tr>
  1743. <tr class="method-row alt expandable">
  1744. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1745. <td class="sig">
  1746. <a id="Ext.form.ComboBox-isExpanded"></a>
  1747. <b>isExpanded</b>() : void <div class="mdesc">
  1748. <div class="short">Returns true if the dropdown list is expanded, else false.</div>
  1749. <div class="long">
  1750. Returns true if the dropdown list is expanded, else false. <div class="mdetail-params">
  1751. <strong>Parameters:</strong>
  1752. <ul><li>None.</li> </ul>
  1753. <strong>Returns:</strong>
  1754. <ul>
  1755. <li><code>void</code></li>
  1756. </ul>
  1757. </div>
  1758. </div>
  1759. </div>
  1760. </td>
  1761. <td class="msource">ComboBox</td>
  1762. </tr>
  1763. <tr class="method-row inherited expandable">
  1764. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1765. <td class="sig">
  1766. <a id="Ext.form.ComboBox-isValid"></a>
  1767. <b>isValid</b>(&nbsp;<code>Boolean preventMark</code>&nbsp;) : Boolean <div class="mdesc">
  1768. <div class="short">Returns whether or not the field value is currently valid</div>
  1769. <div class="long">
  1770. Returns whether or not the field value is currently valid <div class="mdetail-params">
  1771. <strong>Parameters:</strong>
  1772. <ul><li><code>preventMark</code> : Boolean<div class="sub-desc">True to disable marking the field invalid</div></li> </ul>
  1773. <strong>Returns:</strong>
  1774. <ul>
  1775. <li><code>Boolean</code><div class="sub-desc">True if the value is valid, else false</div></li>
  1776. </ul>
  1777. </div>
  1778. </div>
  1779. </div>
  1780. </td>
  1781. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#isValid" href="output/Ext.form.Field.html#isValid">Field</a></td>
  1782. </tr>
  1783. <tr class="method-row inherited alt expandable">
  1784. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1785. <td class="sig">
  1786. <a id="Ext.form.ComboBox-isVisible"></a>
  1787. <b>isVisible</b>() : void <div class="mdesc">
  1788. <div class="short">Returns true if this component is visible.</div>
  1789. <div class="long">
  1790. Returns true if this component is visible. <div class="mdetail-params">
  1791. <strong>Parameters:</strong>
  1792. <ul><li>None.</li> </ul>
  1793. <strong>Returns:</strong>
  1794. <ul>
  1795. <li><code>void</code></li>
  1796. </ul>
  1797. </div>
  1798. </div>
  1799. </div>
  1800. </td>
  1801. <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>
  1802. </tr>
  1803. <tr class="method-row inherited expandable">
  1804. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1805. <td class="sig">
  1806. <a id="Ext.form.ComboBox-isXType"></a>
  1807. <b>isXType</b>(&nbsp;<code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span>&nbsp;) : void <div class="mdesc">
  1808. <div class="short">Tests whether or not this component is of a specific xtype. This can test whether this component is descended
  1809. from th...</div>
  1810. <div class="long">
  1811. Tests whether or not this component is of a specific xtype. This can test whether this component is descended
  1812. from the xtype (default) or whether it is directly of the xtype specified (shallow = true). For a list of all
  1813. available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
  1814. <pre><code>var t = <b>new</b> Ext.form.TextField();
  1815. <b>var</b> isText = t.isXType(<em>'textfield'</em>); <i>// true</i>
  1816. <b>var</b> isBoxSubclass = t.isXType(<em>'box'</em>); <i>// true, descended from BoxComponent</i>
  1817. <b>var</b> isBoxInstance = t.isXType(<em>'box'</em>, true); // false, not a direct BoxComponent instance</code></pre> <div class="mdetail-params">
  1818. <strong>Parameters:</strong>
  1819. <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
  1820. the default), or true to check whether this component is directly of the specified xtype.</div></li> </ul>
  1821. <strong>Returns:</strong>
  1822. <ul>
  1823. <li><code>void</code></li>
  1824. </ul>
  1825. </div>
  1826. </div>
  1827. </div>
  1828. </td>
  1829. <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>
  1830. </tr>
  1831. <tr class="method-row inherited alt expandable">
  1832. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1833. <td class="sig">
  1834. <a id="Ext.form.ComboBox-markInvalid"></a>
  1835. <b>markInvalid</b>(&nbsp;<code>String msg</code>&nbsp;) : void <div class="mdesc">
  1836. <div class="short">Mark this field as invalid</div>
  1837. <div class="long">
  1838. Mark this field as invalid <div class="mdetail-params">
  1839. <strong>Parameters:</strong>
  1840. <ul><li><code>msg</code> : String<div class="sub-desc">The validation message</div></li> </ul>
  1841. <strong>Returns:</strong>
  1842. <ul>
  1843. <li><code>void</code></li>
  1844. </ul>
  1845. </div>
  1846. </div>
  1847. </div>
  1848. </td>
  1849. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#markInvalid" href="output/Ext.form.Field.html#markInvalid">Field</a></td>
  1850. </tr>
  1851. <tr class="method-row inherited expandable">
  1852. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1853. <td class="sig">
  1854. <a id="Ext.form.ComboBox-on"></a>
  1855. <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">
  1856. <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
  1857. <div class="long">
  1858. Appends an event handler to this element (shorthand for addListener) <div class="mdetail-params">
  1859. <strong>Parameters:</strong>
  1860. <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
  1861. function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li> </ul>
  1862. <strong>Returns:</strong>
  1863. <ul>
  1864. <li><code>void</code></li>
  1865. </ul>
  1866. </div>
  1867. </div>
  1868. </div>
  1869. </td>
  1870. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
  1871. </tr>
  1872. <tr class="method-row inherited alt expandable">
  1873. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1874. <td class="sig">
  1875. <a id="Ext.form.ComboBox-onTriggerClick"></a>
  1876. <b>onTriggerClick</b>(&nbsp;<code>EventObject e</code>&nbsp;) : void <div class="mdesc">
  1877. <div class="short">The function that should handle the trigger's click event. This method does nothing by default until overridden
  1878. by a...</div>
  1879. <div class="long">
  1880. The function that should handle the trigger's click event. This method does nothing by default until overridden
  1881. by an implementing function. <div class="mdetail-params">
  1882. <strong>Parameters:</strong>
  1883. <ul><li><code>e</code> : EventObject<div class="sub-desc"></div></li> </ul>
  1884. <strong>Returns:</strong>
  1885. <ul>
  1886. <li><code>void</code></li>
  1887. </ul>
  1888. </div>
  1889. </div>
  1890. </div>
  1891. </td>
  1892. <td class="msource"><a ext:cls="Ext.form.TriggerField" ext:member="#onTriggerClick" href="output/Ext.form.TriggerField.html#onTriggerClick">TriggerField</a></td>
  1893. </tr>
  1894. <tr class="method-row inherited expandable">
  1895. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1896. <td class="sig">
  1897. <a id="Ext.form.ComboBox-purgeListeners"></a>
  1898. <b>purgeListeners</b>() : void <div class="mdesc">
  1899. <div class="short">Removes all listeners for this object</div>
  1900. <div class="long">
  1901. Removes all listeners for this object <div class="mdetail-params">
  1902. <strong>Parameters:</strong>
  1903. <ul><li>None.</li> </ul>
  1904. <strong>Returns:</strong>
  1905. <ul>
  1906. <li><code>void</code></li>
  1907. </ul>
  1908. </div>
  1909. </div>
  1910. </div>
  1911. </td>
  1912. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
  1913. </tr>
  1914. <tr class="method-row inherited alt expandable">
  1915. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1916. <td class="sig">
  1917. <a id="Ext.form.ComboBox-removeClass"></a>
  1918. <b>removeClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void <div class="mdesc">
  1919. <div class="short">Removes a CSS class from the component's underlying element.</div>
  1920. <div class="long">
  1921. Removes a CSS class from the component's underlying element. <div class="mdetail-params">
  1922. <strong>Parameters:</strong>
  1923. <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to remove</div></li> </ul>
  1924. <strong>Returns:</strong>
  1925. <ul>
  1926. <li><code>void</code></li>
  1927. </ul>
  1928. </div>
  1929. </div>
  1930. </div>
  1931. </td>
  1932. <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>
  1933. </tr>
  1934. <tr class="method-row inherited expandable">
  1935. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1936. <td class="sig">
  1937. <a id="Ext.form.ComboBox-removeListener"></a>
  1938. <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">
  1939. <div class="short">Removes a listener</div>
  1940. <div class="long">
  1941. Removes a listener <div class="mdetail-params">
  1942. <strong>Parameters:</strong>
  1943. <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>
  1944. <strong>Returns:</strong>
  1945. <ul>
  1946. <li><code>void</code></li>
  1947. </ul>
  1948. </div>
  1949. </div>
  1950. </div>
  1951. </td>
  1952. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
  1953. </tr>
  1954. <tr class="method-row inherited alt expandable">
  1955. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1956. <td class="sig">
  1957. <a id="Ext.form.ComboBox-render"></a>
  1958. <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">
  1959. <div class="short">If this is a lazy rendering component, render it to its container element.</div>
  1960. <div class="long">
  1961. If this is a lazy rendering component, render it to its container element. <div class="mdetail-params">
  1962. <strong>Parameters:</strong>
  1963. <ul><li><code>container</code> : Mixed<div class="sub-desc">(optional) The element this component should be rendered into. If it is being
  1964. 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>
  1965. which this component will be inserted (defaults to appending to the end of the container)</div></li> </ul>
  1966. <strong>Returns:</strong>
  1967. <ul>
  1968. <li><code>void</code></li>
  1969. </ul>
  1970. </div>
  1971. </div>
  1972. </div>
  1973. </td>
  1974. <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>
  1975. </tr>
  1976. <tr class="method-row inherited expandable">
  1977. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1978. <td class="sig">
  1979. <a id="Ext.form.ComboBox-reset"></a>
  1980. <b>reset</b>() : void <div class="mdesc">
  1981. <div class="short">Resets the current field value to the originally loaded value and clears any validation messages</div>
  1982. <div class="long">
  1983. Resets the current field value to the originally loaded value and clears any validation messages <div class="mdetail-params">
  1984. <strong>Parameters:</strong>
  1985. <ul><li>None.</li> </ul>
  1986. <strong>Returns:</strong>
  1987. <ul>
  1988. <li><code>void</code></li>
  1989. </ul>
  1990. </div>
  1991. </div>
  1992. </div>
  1993. </td>
  1994. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#reset" href="output/Ext.form.Field.html#reset">Field</a></td>
  1995. </tr>
  1996. <tr class="method-row inherited alt expandable">
  1997. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1998. <td class="sig">
  1999. <a id="Ext.form.ComboBox-resumeEvents"></a>
  2000. <b>resumeEvents</b>() : void <div class="mdesc">
  2001. <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>
  2002. <div class="long">
  2003. 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">
  2004. <strong>Parameters:</strong>
  2005. <ul><li>None.</li> </ul>
  2006. <strong>Returns:</strong>
  2007. <ul>
  2008. <li><code>void</code></li>
  2009. </ul>
  2010. </div>
  2011. </div>
  2012. </div>
  2013. </td>
  2014. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
  2015. </tr>
  2016. <tr class="method-row expandable">
  2017. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2018. <td class="sig">
  2019. <a id="Ext.form.ComboBox-select"></a>
  2020. <b>select</b>(&nbsp;<code>Number index</code>, <code>Boolean scrollIntoView</code>&nbsp;) : void <div class="mdesc">
  2021. <div class="short">Select an item in the dropdown list by its numeric index in the list. This function does NOT cause the select event t...</div>
  2022. <div class="long">
  2023. Select an item in the dropdown list by its numeric index in the list. This function does NOT cause the select event to fire.
  2024. The store must be loaded and the list expanded for this function to work, otherwise use setValue. <div class="mdetail-params">
  2025. <strong>Parameters:</strong>
  2026. <ul><li><code>index</code> : Number<div class="sub-desc">The zero-based index of the list item to select</div></li><li><code>scrollIntoView</code> : Boolean<div class="sub-desc">False to prevent the dropdown list from autoscrolling to display the
  2027. selected item if it is not currently in view (defaults to true)</div></li> </ul>
  2028. <strong>Returns:</strong>
  2029. <ul>
  2030. <li><code>void</code></li>
  2031. </ul>
  2032. </div>
  2033. </div>
  2034. </div>
  2035. </td>
  2036. <td class="msource">ComboBox</td>
  2037. </tr>
  2038. <tr class="method-row alt expandable">
  2039. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2040. <td class="sig">
  2041. <a id="Ext.form.ComboBox-selectByValue"></a>
  2042. <b>selectByValue</b>(&nbsp;<code>String value</code>, <code>Boolean scrollIntoView</code>&nbsp;) : Boolean <div class="mdesc">
  2043. <div class="short">Select an item in the dropdown list by its data value. This function does NOT cause the select event to fire.
  2044. The sto...</div>
  2045. <div class="long">
  2046. Select an item in the dropdown list by its data value. This function does NOT cause the select event to fire.
  2047. The store must be loaded and the list expanded for this function to work, otherwise use setValue. <div class="mdetail-params">
  2048. <strong>Parameters:</strong>
  2049. <ul><li><code>value</code> : String<div class="sub-desc">The data value of the item to select</div></li><li><code>scrollIntoView</code> : Boolean<div class="sub-desc">False to prevent the dropdown list from autoscrolling to display the
  2050. selected item if it is not currently in view (defaults to true)</div></li> </ul>
  2051. <strong>Returns:</strong>
  2052. <ul>
  2053. <li><code>Boolean</code><div class="sub-desc">True if the value matched an item in the list, else false</div></li>
  2054. </ul>
  2055. </div>
  2056. </div>
  2057. </div>
  2058. </td>
  2059. <td class="msource">ComboBox</td>
  2060. </tr>
  2061. <tr class="method-row inherited expandable">
  2062. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2063. <td class="sig">
  2064. <a id="Ext.form.ComboBox-selectText"></a>
  2065. <b>selectText</b>(&nbsp;<span class="optional" title="Optional">[<code>Number start</code>]</span>, <span class="optional" title="Optional">[<code>Number end</code>]</span>&nbsp;) : void <div class="mdesc">
  2066. <div class="short">Selects text in this field</div>
  2067. <div class="long">
  2068. Selects text in this field <div class="mdetail-params">
  2069. <strong>Parameters:</strong>
  2070. <ul><li><code>start</code> : Number<div class="sub-desc">(optional) The index where the selection should start (defaults to 0)</div></li><li><code>end</code> : Number<div class="sub-desc">(optional) The index where the selection should end (defaults to the text length)</div></li> </ul>
  2071. <strong>Returns:</strong>
  2072. <ul>
  2073. <li><code>void</code></li>
  2074. </ul>
  2075. </div>
  2076. </div>
  2077. </div>
  2078. </td>
  2079. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#selectText" href="output/Ext.form.TextField.html#selectText">TextField</a></td>
  2080. </tr>
  2081. <tr class="method-row inherited alt expandable">
  2082. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2083. <td class="sig">
  2084. <a id="Ext.form.ComboBox-setDisabled"></a>
  2085. <b>setDisabled</b>(&nbsp;<code>Boolean disabled</code>&nbsp;) : void <div class="mdesc">
  2086. <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
  2087. <div class="long">
  2088. Convenience function for setting disabled/enabled by boolean. <div class="mdetail-params">
  2089. <strong>Parameters:</strong>
  2090. <ul><li><code>disabled</code> : Boolean<div class="sub-desc"></div></li> </ul>
  2091. <strong>Returns:</strong>
  2092. <ul>
  2093. <li><code>void</code></li>
  2094. </ul>
  2095. </div>
  2096. </div>
  2097. </div>
  2098. </td>
  2099. <td class="msource"><a ext:cls="Ext.Component" ext:member="#setDisabled" href="output/Ext.Component.html#setDisabled">Component</a></td>
  2100. </tr>
  2101. <tr class="method-row expandable">
  2102. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2103. <td class="sig">
  2104. <a id="Ext.form.ComboBox-setEditable"></a>
  2105. <b>setEditable</b>(&nbsp;<code>Boolean value</code>&nbsp;) : void <div class="mdesc">
  2106. <div class="short">Allow or prevent the user from directly editing the field text. If false is passed,
  2107. the user will only be able to se...</div>
  2108. <div class="long">
  2109. Allow or prevent the user from directly editing the field text. If false is passed,
  2110. the user will only be able to select from the items defined in the dropdown list. This method
  2111. is the runtime equivalent of setting the 'editable' config option at config time. <div class="mdetail-params">
  2112. <strong>Parameters:</strong>
  2113. <ul><li><code>value</code> : Boolean<div class="sub-desc">True to allow the user to directly edit the field text</div></li> </ul>
  2114. <strong>Returns:</strong>
  2115. <ul>
  2116. <li><code>void</code></li>
  2117. </ul>
  2118. </div>
  2119. </div>
  2120. </div>
  2121. </td>
  2122. <td class="msource">ComboBox</td>
  2123. </tr>
  2124. <tr class="method-row inherited alt expandable">
  2125. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2126. <td class="sig">
  2127. <a id="Ext.form.ComboBox-setHeight"></a>
  2128. <b>setHeight</b>(&nbsp;<code>Number height</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  2129. <div class="short">Sets the height of the component. This method fires the resize event.</div>
  2130. <div class="long">
  2131. Sets the height of the component. This method fires the resize event. <div class="mdetail-params">
  2132. <strong>Parameters:</strong>
  2133. <ul><li><code>height</code> : Number<div class="sub-desc">The new height to set</div></li> </ul>
  2134. <strong>Returns:</strong>
  2135. <ul>
  2136. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  2137. </ul>
  2138. </div>
  2139. </div>
  2140. </div>
  2141. </td>
  2142. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setHeight" href="output/Ext.BoxComponent.html#setHeight">BoxComponent</a></td>
  2143. </tr>
  2144. <tr class="method-row inherited expandable">
  2145. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2146. <td class="sig">
  2147. <a id="Ext.form.ComboBox-setPagePosition"></a>
  2148. <b>setPagePosition</b>(&nbsp;<code>Number x</code>, <code>Number y</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  2149. <div class="short">Sets the page XY position of the component. To set the left and top instead, use setPosition.
  2150. This method fires the ...</div>
  2151. <div class="long">
  2152. 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>.
  2153. This method fires the move event. <div class="mdetail-params">
  2154. <strong>Parameters:</strong>
  2155. <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>
  2156. <strong>Returns:</strong>
  2157. <ul>
  2158. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  2159. </ul>
  2160. </div>
  2161. </div>
  2162. </div>
  2163. </td>
  2164. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPagePosition" href="output/Ext.BoxComponent.html#setPagePosition">BoxComponent</a></td>
  2165. </tr>
  2166. <tr class="method-row inherited alt expandable">
  2167. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2168. <td class="sig">
  2169. <a id="Ext.form.ComboBox-setPosition"></a>
  2170. <b>setPosition</b>(&nbsp;<code>Number left</code>, <code>Number top</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  2171. <div class="short">Sets the left and top of the component. To set the page XY position instead, use setPagePosition.
  2172. This method fires ...</div>
  2173. <div class="long">
  2174. 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>.
  2175. This method fires the move event. <div class="mdetail-params">
  2176. <strong>Parameters:</strong>
  2177. <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>
  2178. <strong>Returns:</strong>
  2179. <ul>
  2180. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  2181. </ul>
  2182. </div>
  2183. </div>
  2184. </div>
  2185. </td>
  2186. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPosition" href="output/Ext.BoxComponent.html#setPosition">BoxComponent</a></td>
  2187. </tr>
  2188. <tr class="method-row inherited expandable">
  2189. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2190. <td class="sig">
  2191. <a id="Ext.form.ComboBox-setRawValue"></a>
  2192. <b>setRawValue</b>(&nbsp;<code>Mixed value</code>&nbsp;) : void <div class="mdesc">
  2193. <div class="short">Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see <a ext:cls="Ext.form.Field" ext:member="setValue" href="output/Ext.form.Field.html#setValue">setValue</a>.</div>
  2194. <div class="long">
  2195. Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see <a ext:cls="Ext.form.Field" ext:member="setValue" href="output/Ext.form.Field.html#setValue">setValue</a>. <div class="mdetail-params">
  2196. <strong>Parameters:</strong>
  2197. <ul><li><code>value</code> : Mixed<div class="sub-desc">The value to set</div></li> </ul>
  2198. <strong>Returns:</strong>
  2199. <ul>
  2200. <li><code>void</code></li>
  2201. </ul>
  2202. </div>
  2203. </div>
  2204. </div>
  2205. </td>
  2206. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#setRawValue" href="output/Ext.form.Field.html#setRawValue">Field</a></td>
  2207. </tr>
  2208. <tr class="method-row inherited alt expandable">
  2209. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2210. <td class="sig">
  2211. <a id="Ext.form.ComboBox-setSize"></a>
  2212. <b>setSize</b>(&nbsp;<code>Number/Object width</code>, <code>Number height</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  2213. <div class="short">Sets the width and height of the component. This method fires the resize event. This method can accept
  2214. either width...</div>
  2215. <div class="long">
  2216. Sets the width and height of the component. This method fires the resize event. This method can accept
  2217. either width and height as separate numeric arguments, or you can pass a size object like {width:10, height:20}. <div class="mdetail-params">
  2218. <strong>Parameters:</strong>
  2219. <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>
  2220. <strong>Returns:</strong>
  2221. <ul>
  2222. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  2223. </ul>
  2224. </div>
  2225. </div>
  2226. </div>
  2227. </td>
  2228. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setSize" href="output/Ext.BoxComponent.html#setSize">BoxComponent</a></td>
  2229. </tr>
  2230. <tr class="method-row expandable">
  2231. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2232. <td class="sig">
  2233. <a id="Ext.form.ComboBox-setValue"></a>
  2234. <b>setValue</b>(&nbsp;<code>String value</code>&nbsp;) : void <div class="mdesc">
  2235. <div class="short">Sets the specified value into the field. If the value finds a match, the corresponding record text
  2236. will be displayed...</div>
  2237. <div class="long">
  2238. Sets the specified value into the field. If the value finds a match, the corresponding record text
  2239. will be displayed in the field. If the value does not match the data value of an existing item,
  2240. and the valueNotFoundText config option is defined, it will be displayed as the default field text.
  2241. Otherwise the field will be blank (although the value will still be set). <div class="mdetail-params">
  2242. <strong>Parameters:</strong>
  2243. <ul><li><code>value</code> : String<div class="sub-desc">The value to match</div></li> </ul>
  2244. <strong>Returns:</strong>
  2245. <ul>
  2246. <li><code>void</code></li>
  2247. </ul>
  2248. </div>
  2249. </div>
  2250. </div>
  2251. </td>
  2252. <td class="msource">ComboBox</td>
  2253. </tr>
  2254. <tr class="method-row inherited alt expandable">
  2255. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2256. <td class="sig">
  2257. <a id="Ext.form.ComboBox-setVisible"></a>
  2258. <b>setVisible</b>(&nbsp;<code>Boolean visible</code>&nbsp;) : Ext.Component <div class="mdesc">
  2259. <div class="short">Convenience function to hide or show this component by boolean.</div>
  2260. <div class="long">
  2261. Convenience function to hide or show this component by boolean. <div class="mdetail-params">
  2262. <strong>Parameters:</strong>
  2263. <ul><li><code>visible</code> : Boolean<div class="sub-desc">True to show, false to hide</div></li> </ul>
  2264. <strong>Returns:</strong>
  2265. <ul>
  2266. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  2267. </ul>
  2268. </div>
  2269. </div>
  2270. </div>
  2271. </td>
  2272. <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>
  2273. </tr>
  2274. <tr class="method-row inherited expandable">
  2275. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2276. <td class="sig">
  2277. <a id="Ext.form.ComboBox-setWidth"></a>
  2278. <b>setWidth</b>(&nbsp;<code>Number width</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  2279. <div class="short">Sets the width of the component. This method fires the resize event.</div>
  2280. <div class="long">
  2281. Sets the width of the component. This method fires the resize event. <div class="mdetail-params">
  2282. <strong>Parameters:</strong>
  2283. <ul><li><code>width</code> : Number<div class="sub-desc">The new width to set</div></li> </ul>
  2284. <strong>Returns:</strong>
  2285. <ul>
  2286. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  2287. </ul>
  2288. </div>
  2289. </div>
  2290. </div>
  2291. </td>
  2292. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setWidth" href="output/Ext.BoxComponent.html#setWidth">BoxComponent</a></td>
  2293. </tr>
  2294. <tr class="method-row inherited alt expandable">
  2295. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2296. <td class="sig">
  2297. <a id="Ext.form.ComboBox-show"></a>
  2298. <b>show</b>() : Ext.Component <div class="mdesc">
  2299. <div class="short">Show this component.</div>
  2300. <div class="long">
  2301. Show this component. <div class="mdetail-params">
  2302. <strong>Parameters:</strong>
  2303. <ul><li>None.</li> </ul>
  2304. <strong>Returns:</strong>
  2305. <ul>
  2306. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  2307. </ul>
  2308. </div>
  2309. </div>
  2310. </div>
  2311. </td>
  2312. <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>
  2313. </tr>
  2314. <tr class="method-row inherited expandable">
  2315. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2316. <td class="sig">
  2317. <a id="Ext.form.ComboBox-suspendEvents"></a>
  2318. <b>suspendEvents</b>() : void <div class="mdesc">
  2319. <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>
  2320. <div class="long">
  2321. 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">
  2322. <strong>Parameters:</strong>
  2323. <ul><li>None.</li> </ul>
  2324. <strong>Returns:</strong>
  2325. <ul>
  2326. <li><code>void</code></li>
  2327. </ul>
  2328. </div>
  2329. </div>
  2330. </div>
  2331. </td>
  2332. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
  2333. </tr>
  2334. <tr class="method-row inherited alt expandable">
  2335. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2336. <td class="sig">
  2337. <a id="Ext.form.ComboBox-syncSize"></a>
  2338. <b>syncSize</b>() : Ext.BoxComponent <div class="mdesc">
  2339. <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
  2340. <div class="long">
  2341. Force the component's size to recalculate based on the underlying element's current height and width. <div class="mdetail-params">
  2342. <strong>Parameters:</strong>
  2343. <ul><li>None.</li> </ul>
  2344. <strong>Returns:</strong>
  2345. <ul>
  2346. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  2347. </ul>
  2348. </div>
  2349. </div>
  2350. </div>
  2351. </td>
  2352. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#syncSize" href="output/Ext.BoxComponent.html#syncSize">BoxComponent</a></td>
  2353. </tr>
  2354. <tr class="method-row inherited expandable">
  2355. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2356. <td class="sig">
  2357. <a id="Ext.form.ComboBox-un"></a>
  2358. <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">
  2359. <div class="short">Removes a listener (shorthand for removeListener)</div>
  2360. <div class="long">
  2361. Removes a listener (shorthand for removeListener) <div class="mdetail-params">
  2362. <strong>Parameters:</strong>
  2363. <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>
  2364. <strong>Returns:</strong>
  2365. <ul>
  2366. <li><code>void</code></li>
  2367. </ul>
  2368. </div>
  2369. </div>
  2370. </div>
  2371. </td>
  2372. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
  2373. </tr>
  2374. <tr class="method-row inherited alt expandable">
  2375. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2376. <td class="sig">
  2377. <a id="Ext.form.ComboBox-updateBox"></a>
  2378. <b>updateBox</b>(&nbsp;<code>Object box</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  2379. <div class="short">Sets the current box measurements of the component's underlying element.</div>
  2380. <div class="long">
  2381. Sets the current box measurements of the component's underlying element. <div class="mdetail-params">
  2382. <strong>Parameters:</strong>
  2383. <ul><li><code>box</code> : Object<div class="sub-desc">An object in the format {x, y, width, height}</div></li> </ul>
  2384. <strong>Returns:</strong>
  2385. <ul>
  2386. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  2387. </ul>
  2388. </div>
  2389. </div>
  2390. </div>
  2391. </td>
  2392. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#updateBox" href="output/Ext.BoxComponent.html#updateBox">BoxComponent</a></td>
  2393. </tr>
  2394. <tr class="method-row inherited expandable">
  2395. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2396. <td class="sig">
  2397. <a id="Ext.form.ComboBox-validate"></a>
  2398. <b>validate</b>() : Boolean <div class="mdesc">
  2399. <div class="short">Validates the field value</div>
  2400. <div class="long">
  2401. Validates the field value <div class="mdetail-params">
  2402. <strong>Parameters:</strong>
  2403. <ul><li>None.</li> </ul>
  2404. <strong>Returns:</strong>
  2405. <ul>
  2406. <li><code>Boolean</code><div class="sub-desc">True if the value is valid, else false</div></li>
  2407. </ul>
  2408. </div>
  2409. </div>
  2410. </div>
  2411. </td>
  2412. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#validate" href="output/Ext.form.Field.html#validate">Field</a></td>
  2413. </tr>
  2414. <tr class="method-row inherited alt expandable">
  2415. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2416. <td class="sig">
  2417. <a id="Ext.form.ComboBox-validateValue"></a>
  2418. <b>validateValue</b>(&nbsp;<code>Mixed value</code>&nbsp;) : Boolean <div class="mdesc">
  2419. <div class="short">Validates a value according to the field's validation rules and marks the field as invalid
  2420. if the validation fails</div>
  2421. <div class="long">
  2422. Validates a value according to the field's validation rules and marks the field as invalid
  2423. if the validation fails <div class="mdetail-params">
  2424. <strong>Parameters:</strong>
  2425. <ul><li><code>value</code> : Mixed<div class="sub-desc">The value to validate</div></li> </ul>
  2426. <strong>Returns:</strong>
  2427. <ul>
  2428. <li><code>Boolean</code><div class="sub-desc">True if the value is valid, else false</div></li>
  2429. </ul>
  2430. </div>
  2431. </div>
  2432. </div>
  2433. </td>
  2434. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#validateValue" href="output/Ext.form.TextField.html#validateValue">TextField</a></td>
  2435. </tr>
  2436. </table>
  2437. <a id="Ext.form.ComboBox-events"></a>
  2438. <h2>Public Events</h2>
  2439. <table cellspacing="0" class="member-table">
  2440. <tr>
  2441. <th class="sig-header" colspan="2">Event</th>
  2442. <th class="msource-header">Defined By</th>
  2443. </tr>
  2444. <tr class="event-row inherited expandable">
  2445. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2446. <td class="sig">
  2447. <a id="Ext.form.ComboBox-autosize"></a>
  2448. <b>autosize</b> : (&nbsp;<code>Ext.form.Field this</code>, <code>Number width</code>&nbsp;) <div class="mdesc">
  2449. <div class="short">Fires when the autosize function is triggered. The field may or may not have actually changed size
  2450. according to the ...</div>
  2451. <div class="long">
  2452. Fires when the autosize function is triggered. The field may or may not have actually changed size
  2453. according to the default logic, but this event provides a hook for the developer to apply additional
  2454. logic at runtime to resize the field if needed. <div class="mdetail-params">
  2455. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2456. <ul><li><code>this</code> : Ext.form.Field<div class="sub-desc">This text field</div></li><li><code>width</code> : Number<div class="sub-desc">The new field width</div></li> </ul>
  2457. </div>
  2458. </div>
  2459. </div>
  2460. </td>
  2461. <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#event-autosize" href="output/Ext.form.TextField.html#event-autosize">TextField</a></td>
  2462. </tr>
  2463. <tr class="event-row inherited alt expandable">
  2464. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2465. <td class="sig">
  2466. <a id="Ext.form.ComboBox-beforedestroy"></a>
  2467. <b>beforedestroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2468. <div class="short">Fires before the component is destroyed. Return false to stop the destroy.</div>
  2469. <div class="long">
  2470. Fires before the component is destroyed. Return false to stop the destroy. <div class="mdetail-params">
  2471. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2472. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2473. </div>
  2474. </div>
  2475. </div>
  2476. </td>
  2477. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>
  2478. </tr>
  2479. <tr class="event-row inherited expandable">
  2480. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2481. <td class="sig">
  2482. <a id="Ext.form.ComboBox-beforehide"></a>
  2483. <b>beforehide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2484. <div class="short">Fires before the component is hidden. Return false to stop the hide.</div>
  2485. <div class="long">
  2486. Fires before the component is hidden. Return false to stop the hide. <div class="mdetail-params">
  2487. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2488. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2489. </div>
  2490. </div>
  2491. </div>
  2492. </td>
  2493. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>
  2494. </tr>
  2495. <tr class="event-row alt expandable">
  2496. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2497. <td class="sig">
  2498. <a id="Ext.form.ComboBox-beforequery"></a>
  2499. <b>beforequery</b> : (&nbsp;<code>Object queryEvent</code>&nbsp;) <div class="mdesc">
  2500. <div class="short">Fires before all queries are processed. Return false to cancel the query or set the queryEvent's
  2501. cancel property to t...</div>
  2502. <div class="long">
  2503. Fires before all queries are processed. Return false to cancel the query or set the queryEvent's
  2504. cancel property to true. <div class="mdetail-params">
  2505. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2506. <ul><li><code>queryEvent</code> : Object<div class="sub-desc">An object that has these properties:<ul>
  2507. <li><code>combo</code> : Ext.form.ComboBox <div class="sub-desc">This combo box</div></li>
  2508. <li><code>query</code> : String <div class="sub-desc">The query</div></li>
  2509. <li><code>forceAll</code> : Boolean <div class="sub-desc">True to force "all" query</div></li>
  2510. <li><code>cancel</code> : Boolean <div class="sub-desc">Set to true to cancel the query</div></li>
  2511. </ul></div></li> </ul>
  2512. </div>
  2513. </div>
  2514. </div>
  2515. </td>
  2516. <td class="msource">ComboBox</td>
  2517. </tr>
  2518. <tr class="event-row inherited expandable">
  2519. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2520. <td class="sig">
  2521. <a id="Ext.form.ComboBox-beforerender"></a>
  2522. <b>beforerender</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2523. <div class="short">Fires before the component is rendered. Return false to stop the render.</div>
  2524. <div class="long">
  2525. Fires before the component is rendered. Return false to stop the render. <div class="mdetail-params">
  2526. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2527. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2528. </div>
  2529. </div>
  2530. </div>
  2531. </td>
  2532. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>
  2533. </tr>
  2534. <tr class="event-row alt expandable">
  2535. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2536. <td class="sig">
  2537. <a id="Ext.form.ComboBox-beforeselect"></a>
  2538. <b>beforeselect</b> : (&nbsp;<code>Ext.form.ComboBox combo</code>, <code>Ext.data.Record record</code>, <code>Number index</code>&nbsp;) <div class="mdesc">
  2539. <div class="short">Fires before a list item is selected. Return false to cancel the selection.</div>
  2540. <div class="long">
  2541. Fires before a list item is selected. Return false to cancel the selection. <div class="mdetail-params">
  2542. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2543. <ul><li><code>combo</code> : Ext.form.ComboBox<div class="sub-desc">This combo box</div></li><li><code>record</code> : Ext.data.Record<div class="sub-desc">The data record returned from the underlying store</div></li><li><code>index</code> : Number<div class="sub-desc">The index of the selected item in the dropdown list</div></li> </ul>
  2544. </div>
  2545. </div>
  2546. </div>
  2547. </td>
  2548. <td class="msource">ComboBox</td>
  2549. </tr>
  2550. <tr class="event-row inherited expandable">
  2551. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2552. <td class="sig">
  2553. <a id="Ext.form.ComboBox-beforeshow"></a>
  2554. <b>beforeshow</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2555. <div class="short">Fires before the component is shown. Return false to stop the show.</div>
  2556. <div class="long">
  2557. Fires before the component is shown. Return false to stop the show. <div class="mdetail-params">
  2558. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2559. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2560. </div>
  2561. </div>
  2562. </div>
  2563. </td>
  2564. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>
  2565. </tr>
  2566. <tr class="event-row inherited alt expandable">
  2567. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2568. <td class="sig">
  2569. <a id="Ext.form.ComboBox-beforestaterestore"></a>
  2570. <b>beforestaterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  2571. <div class="short">Fires before the state of the component is restored. Return false to stop the restore.</div>
  2572. <div class="long">
  2573. Fires before the state of the component is restored. Return false to stop the restore. <div class="mdetail-params">
  2574. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2575. <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>
  2576. </div>
  2577. </div>
  2578. </div>
  2579. </td>
  2580. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>
  2581. </tr>
  2582. <tr class="event-row inherited expandable">
  2583. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2584. <td class="sig">
  2585. <a id="Ext.form.ComboBox-beforestatesave"></a>
  2586. <b>beforestatesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  2587. <div class="short">Fires before the state of the component is saved to the configured state provider. Return false to stop the save.</div>
  2588. <div class="long">
  2589. Fires before the state of the component is saved to the configured state provider. Return false to stop the save. <div class="mdetail-params">
  2590. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2591. <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>
  2592. </div>
  2593. </div>
  2594. </div>
  2595. </td>
  2596. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>
  2597. </tr>
  2598. <tr class="event-row inherited alt expandable">
  2599. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2600. <td class="sig">
  2601. <a id="Ext.form.ComboBox-blur"></a>
  2602. <b>blur</b> : (&nbsp;<code>Ext.form.Field this</code>&nbsp;) <div class="mdesc">
  2603. <div class="short">Fires when this field loses input focus.</div>
  2604. <div class="long">
  2605. Fires when this field loses input focus. <div class="mdetail-params">
  2606. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2607. <ul><li><code>this</code> : Ext.form.Field<div class="sub-desc"></div></li> </ul>
  2608. </div>
  2609. </div>
  2610. </div>
  2611. </td>
  2612. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#event-blur" href="output/Ext.form.Field.html#event-blur">Field</a></td>
  2613. </tr>
  2614. <tr class="event-row inherited expandable">
  2615. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2616. <td class="sig">
  2617. <a id="Ext.form.ComboBox-change"></a>
  2618. <b>change</b> : (&nbsp;<code>Ext.form.Field this</code>, <code>Mixed newValue</code>, <code>Mixed oldValue</code>&nbsp;) <div class="mdesc">
  2619. <div class="short">Fires just before the field blurs if the field value has changed.</div>
  2620. <div class="long">
  2621. Fires just before the field blurs if the field value has changed. <div class="mdetail-params">
  2622. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2623. <ul><li><code>this</code> : Ext.form.Field<div class="sub-desc"></div></li><li><code>newValue</code> : Mixed<div class="sub-desc">The new value</div></li><li><code>oldValue</code> : Mixed<div class="sub-desc">The original value</div></li> </ul>
  2624. </div>
  2625. </div>
  2626. </div>
  2627. </td>
  2628. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#event-change" href="output/Ext.form.Field.html#event-change">Field</a></td>
  2629. </tr>
  2630. <tr class="event-row alt expandable">
  2631. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2632. <td class="sig">
  2633. <a id="Ext.form.ComboBox-collapse"></a>
  2634. <b>collapse</b> : (&nbsp;<code>Ext.form.ComboBox combo</code>&nbsp;) <div class="mdesc">
  2635. <div class="short">Fires when the dropdown list is collapsed</div>
  2636. <div class="long">
  2637. Fires when the dropdown list is collapsed <div class="mdetail-params">
  2638. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2639. <ul><li><code>combo</code> : Ext.form.ComboBox<div class="sub-desc">This combo box</div></li> </ul>
  2640. </div>
  2641. </div>
  2642. </div>
  2643. </td>
  2644. <td class="msource">ComboBox</td>
  2645. </tr>
  2646. <tr class="event-row inherited expandable">
  2647. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2648. <td class="sig">
  2649. <a id="Ext.form.ComboBox-destroy"></a>
  2650. <b>destroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2651. <div class="short">Fires after the component is destroyed.</div>
  2652. <div class="long">
  2653. Fires after the component is destroyed. <div class="mdetail-params">
  2654. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2655. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2656. </div>
  2657. </div>
  2658. </div>
  2659. </td>
  2660. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>
  2661. </tr>
  2662. <tr class="event-row inherited alt expandable">
  2663. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2664. <td class="sig">
  2665. <a id="Ext.form.ComboBox-disable"></a>
  2666. <b>disable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2667. <div class="short">Fires after the component is disabled.</div>
  2668. <div class="long">
  2669. Fires after the component is disabled. <div class="mdetail-params">
  2670. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2671. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2672. </div>
  2673. </div>
  2674. </div>
  2675. </td>
  2676. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>
  2677. </tr>
  2678. <tr class="event-row inherited expandable">
  2679. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2680. <td class="sig">
  2681. <a id="Ext.form.ComboBox-enable"></a>
  2682. <b>enable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2683. <div class="short">Fires after the component is enabled.</div>
  2684. <div class="long">
  2685. Fires after the component is enabled. <div class="mdetail-params">
  2686. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2687. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2688. </div>
  2689. </div>
  2690. </div>
  2691. </td>
  2692. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>
  2693. </tr>
  2694. <tr class="event-row alt expandable">
  2695. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2696. <td class="sig">
  2697. <a id="Ext.form.ComboBox-expand"></a>
  2698. <b>expand</b> : (&nbsp;<code>Ext.form.ComboBox combo</code>&nbsp;) <div class="mdesc">
  2699. <div class="short">Fires when the dropdown list is expanded</div>
  2700. <div class="long">
  2701. Fires when the dropdown list is expanded <div class="mdetail-params">
  2702. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2703. <ul><li><code>combo</code> : Ext.form.ComboBox<div class="sub-desc">This combo box</div></li> </ul>
  2704. </div>
  2705. </div>
  2706. </div>
  2707. </td>
  2708. <td class="msource">ComboBox</td>
  2709. </tr>
  2710. <tr class="event-row inherited expandable">
  2711. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2712. <td class="sig">
  2713. <a id="Ext.form.ComboBox-focus"></a>
  2714. <b>focus</b> : (&nbsp;<code>Ext.form.Field this</code>&nbsp;) <div class="mdesc">
  2715. <div class="short">Fires when this field receives input focus.</div>
  2716. <div class="long">
  2717. Fires when this field receives input focus. <div class="mdetail-params">
  2718. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2719. <ul><li><code>this</code> : Ext.form.Field<div class="sub-desc"></div></li> </ul>
  2720. </div>
  2721. </div>
  2722. </div>
  2723. </td>
  2724. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#event-focus" href="output/Ext.form.Field.html#event-focus">Field</a></td>
  2725. </tr>
  2726. <tr class="event-row inherited alt expandable">
  2727. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2728. <td class="sig">
  2729. <a id="Ext.form.ComboBox-hide"></a>
  2730. <b>hide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2731. <div class="short">Fires after the component is hidden.</div>
  2732. <div class="long">
  2733. Fires after the component is hidden. <div class="mdetail-params">
  2734. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2735. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2736. </div>
  2737. </div>
  2738. </div>
  2739. </td>
  2740. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>
  2741. </tr>
  2742. <tr class="event-row inherited expandable">
  2743. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2744. <td class="sig">
  2745. <a id="Ext.form.ComboBox-invalid"></a>
  2746. <b>invalid</b> : (&nbsp;<code>Ext.form.Field this</code>, <code>String msg</code>&nbsp;) <div class="mdesc">
  2747. <div class="short">Fires after the field has been marked as invalid.</div>
  2748. <div class="long">
  2749. Fires after the field has been marked as invalid. <div class="mdetail-params">
  2750. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2751. <ul><li><code>this</code> : Ext.form.Field<div class="sub-desc"></div></li><li><code>msg</code> : String<div class="sub-desc">The validation message</div></li> </ul>
  2752. </div>
  2753. </div>
  2754. </div>
  2755. </td>
  2756. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#event-invalid" href="output/Ext.form.Field.html#event-invalid">Field</a></td>
  2757. </tr>
  2758. <tr class="event-row inherited alt expandable">
  2759. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2760. <td class="sig">
  2761. <a id="Ext.form.ComboBox-move"></a>
  2762. <b>move</b> : (&nbsp;<code>Ext.Component this</code>, <code>Number x</code>, <code>Number y</code>&nbsp;) <div class="mdesc">
  2763. <div class="short">Fires after the component is moved.</div>
  2764. <div class="long">
  2765. Fires after the component is moved. <div class="mdetail-params">
  2766. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2767. <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>
  2768. </div>
  2769. </div>
  2770. </div>
  2771. </td>
  2772. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-move" href="output/Ext.BoxComponent.html#event-move">BoxComponent</a></td>
  2773. </tr>
  2774. <tr class="event-row inherited expandable">
  2775. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2776. <td class="sig">
  2777. <a id="Ext.form.ComboBox-render"></a>
  2778. <b>render</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2779. <div class="short">Fires after the component is rendered.</div>
  2780. <div class="long">
  2781. Fires after the component is rendered. <div class="mdetail-params">
  2782. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2783. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2784. </div>
  2785. </div>
  2786. </div>
  2787. </td>
  2788. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>
  2789. </tr>
  2790. <tr class="event-row inherited alt expandable">
  2791. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2792. <td class="sig">
  2793. <a id="Ext.form.ComboBox-resize"></a>
  2794. <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">
  2795. <div class="short">Fires after the component is resized.</div>
  2796. <div class="long">
  2797. Fires after the component is resized. <div class="mdetail-params">
  2798. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2799. <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>
  2800. </div>
  2801. </div>
  2802. </div>
  2803. </td>
  2804. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-resize" href="output/Ext.BoxComponent.html#event-resize">BoxComponent</a></td>
  2805. </tr>
  2806. <tr class="event-row expandable">
  2807. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2808. <td class="sig">
  2809. <a id="Ext.form.ComboBox-select"></a>
  2810. <b>select</b> : (&nbsp;<code>Ext.form.ComboBox combo</code>, <code>Ext.data.Record record</code>, <code>Number index</code>&nbsp;) <div class="mdesc">
  2811. <div class="short">Fires when a list item is selected</div>
  2812. <div class="long">
  2813. Fires when a list item is selected <div class="mdetail-params">
  2814. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2815. <ul><li><code>combo</code> : Ext.form.ComboBox<div class="sub-desc">This combo box</div></li><li><code>record</code> : Ext.data.Record<div class="sub-desc">The data record returned from the underlying store</div></li><li><code>index</code> : Number<div class="sub-desc">The index of the selected item in the dropdown list</div></li> </ul>
  2816. </div>
  2817. </div>
  2818. </div>
  2819. </td>
  2820. <td class="msource">ComboBox</td>
  2821. </tr>
  2822. <tr class="event-row inherited alt expandable">
  2823. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2824. <td class="sig">
  2825. <a id="Ext.form.ComboBox-show"></a>
  2826. <b>show</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2827. <div class="short">Fires after the component is shown.</div>
  2828. <div class="long">
  2829. Fires after the component is shown. <div class="mdetail-params">
  2830. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2831. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2832. </div>
  2833. </div>
  2834. </div>
  2835. </td>
  2836. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>
  2837. </tr>
  2838. <tr class="event-row inherited expandable">
  2839. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2840. <td class="sig">
  2841. <a id="Ext.form.ComboBox-specialkey"></a>
  2842. <b>specialkey</b> : (&nbsp;<code>Ext.form.Field this</code>, <code>Ext.EventObject e</code>&nbsp;) <div class="mdesc">
  2843. <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed. You can check
  2844. Ext.EventObject.g...</div>
  2845. <div class="long">
  2846. Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed. You can check
  2847. <a ext:cls="Ext.EventObject" ext:member="getKey" href="output/Ext.EventObject.html#getKey">Ext.EventObject.getKey</a> to determine which key was pressed. <div class="mdetail-params">
  2848. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2849. <ul><li><code>this</code> : Ext.form.Field<div class="sub-desc"></div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc">The event object</div></li> </ul>
  2850. </div>
  2851. </div>
  2852. </div>
  2853. </td>
  2854. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#event-specialkey" href="output/Ext.form.Field.html#event-specialkey">Field</a></td>
  2855. </tr>
  2856. <tr class="event-row inherited alt expandable">
  2857. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2858. <td class="sig">
  2859. <a id="Ext.form.ComboBox-staterestore"></a>
  2860. <b>staterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  2861. <div class="short">Fires after the state of the component is restored.</div>
  2862. <div class="long">
  2863. Fires after the state of the component is restored. <div class="mdetail-params">
  2864. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2865. <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>
  2866. </div>
  2867. </div>
  2868. </div>
  2869. </td>
  2870. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>
  2871. </tr>
  2872. <tr class="event-row inherited expandable">
  2873. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2874. <td class="sig">
  2875. <a id="Ext.form.ComboBox-statesave"></a>
  2876. <b>statesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  2877. <div class="short">Fires after the state of the component is saved to the configured state provider.</div>
  2878. <div class="long">
  2879. Fires after the state of the component is saved to the configured state provider. <div class="mdetail-params">
  2880. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2881. <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>
  2882. </div>
  2883. </div>
  2884. </div>
  2885. </td>
  2886. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>
  2887. </tr>
  2888. <tr class="event-row inherited alt expandable">
  2889. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2890. <td class="sig">
  2891. <a id="Ext.form.ComboBox-valid"></a>
  2892. <b>valid</b> : (&nbsp;<code>Ext.form.Field this</code>&nbsp;) <div class="mdesc">
  2893. <div class="short">Fires after the field has been validated with no errors.</div>
  2894. <div class="long">
  2895. Fires after the field has been validated with no errors. <div class="mdetail-params">
  2896. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2897. <ul><li><code>this</code> : Ext.form.Field<div class="sub-desc"></div></li> </ul>
  2898. </div>
  2899. </div>
  2900. </div>
  2901. </td>
  2902. <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#event-valid" href="output/Ext.form.Field.html#event-valid">Field</a></td>
  2903. </tr>
  2904. </table>
  2905. </div>