ext.form.combobox.html.svn-base

来自「PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。」· SVN-BASE 代码 · 共 899 行 · 第 1/5 页

SVN-BASE
899
字号
        <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#invalidClass" href="output/Ext.form.Field.html#invalidClass">Field</a></td>
    </tr>
        <tr class="config-row inherited expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.form.ComboBox-invalidText"></a>
            <b>invalidText</b> : String            <div class="mdesc">
                        <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>
            <div class="long">
                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>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#invalidText" href="output/Ext.form.Field.html#invalidText">Field</a></td>
    </tr>
        <tr class="config-row inherited alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.form.ComboBox-itemCls"></a>
            <b>itemCls</b> : String            <div class="mdesc">
                        <div class="short">An additional CSS class to apply to the wrapper's form item element of this field (defaults to the container's itemCl...</div>
            <div class="long">
                An additional CSS class to apply to the wrapper's form item element of this field (defaults to the container's itemCls value if set, or ''). Since it is applied to the item wrapper, it allows you to write standard CSS rules that can apply to the field, the label (if specified) or any other element within the markup for the field. NOTE: this will not have any effect on fields that are not part of a form. Example use: <pre><code><i>// Apply a style to the field's label:</i>&lt;style>    .required .x-form-item-label {font-weight:bold;color:red;}&lt;/style><b>new</b> Ext.FormPanel({	height: 100,	renderTo: document.body,	items: [{		xtype: <em>'textfield'</em>,		fieldLabel: <em>'Name'</em>,		itemCls: <em>'required'</em> <i>//<b>this</b> label will be styled</i>	},{		xtype: <em>'textfield'</em>,		fieldLabel: <em>'Favorite Color'</em>	}]});</code></pre>            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#itemCls" href="output/Ext.form.Field.html#itemCls">Field</a></td>
    </tr>
        <tr class="config-row expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.form.ComboBox-itemSelector"></a>
            <b>itemSelector</b> : String            <div class="mdesc">
                        <div class="short">This setting is required if a custom XTemplate has been specified in tpl which assigns a class other than 'x-combo-li...</div>
            <div class="long">
                <b>This setting is required if a custom XTemplate has been specified in <a ext:cls="Ext.form.ComboBox" ext:member="tpl" href="output/Ext.form.ComboBox.html#tpl">tpl</a> which assigns a class other than <pre>'x-combo-list-item'</pre> to dropdown list items</b>. A simple CSS selector (e.g. div.some-class or span:first-child) that will be used to determine what nodes the DataView which handles the dropdown display will be working with.            </div>
                        </div>
        </td>
        <td class="msource">ComboBox</td>
    </tr>
        <tr class="config-row inherited alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.form.ComboBox-labelSeparator"></a>
            <b>labelSeparator</b> : String            <div class="mdesc">
                        <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>
            <div class="long">
                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>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#labelSeparator" href="output/Ext.form.Field.html#labelSeparator">Field</a></td>
    </tr>
        <tr class="config-row inherited expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.form.ComboBox-labelStyle"></a>
            <b>labelStyle</b> : String            <div class="mdesc">
                        <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>
            <div class="long">
                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>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#labelStyle" href="output/Ext.form.Field.html#labelStyle">Field</a></td>
    </tr>
        <tr class="config-row alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.form.ComboBox-lazyInit"></a>
            <b>lazyInit</b> : Boolean            <div class="mdesc">
                            True to not initialize the list for this combo until the field is focused (defaults to true)                        </div>
        </td>
        <td class="msource">ComboBox</td>
    </tr>
        <tr class="config-row expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.form.ComboBox-lazyRender"></a>
            <b>lazyRender</b> : Boolean            <div class="mdesc">
                        <div class="short">True to prevent the ComboBox from rendering until requested (should always be used when rendering into an Ext.Editor,...</div>
            <div class="long">
                True to prevent the ComboBox from rendering until requested (should always be used when rendering into an Ext.Editor, defaults to false).            </div>
                        </div>
        </td>
        <td class="msource">ComboBox</td>
    </tr>
        <tr class="config-row alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.form.ComboBox-listAlign"></a>
            <b>listAlign</b> : String            <div class="mdesc">
                            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>
        </td>
        <td class="msource">ComboBox</td>
    </tr>
        <tr class="config-row">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.form.ComboBox-listClass"></a>
            <b>listClass</b> : String            <div class="mdesc">
                            CSS class to apply to the dropdown list element (defaults to '')                        </div>
        </td>
        <td class="msource">ComboBox</td>
    </tr>
        <tr class="config-row alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.form.ComboBox-listWidth"></a>
            <b>listWidth</b> : Number            <div class="mdesc">
                            The width in pixels of the dropdown list (defaults to the width of the ComboBox field)                        </div>
        </td>
        <td class="msource">ComboBox</td>
    </tr>
        <tr class="config-row inherited expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.form.ComboBox-listeners"></a>
            <b>listeners</b> : Object            <div class="mdesc">
                        <div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
            <div class="long">
                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>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
    </tr>
        <tr class="config-row alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.form.ComboBox-loadingText"></a>
            <b>loadingText</b> : String            <div class="mdesc">
                        <div class="short">The text to display in the dropdown list while data is loading. Only applies when mode = 'remote' (defaults to 'Loadi...</div>
            <div class="long">
                The text to display in the dropdown list while data is loading. Only applies when mode = 'remote' (defaults to 'Loading...')            </div>
                        </div>
        </td>
        <td class="msource">ComboBox</td>
    </tr>
        <tr class="config-row inherited">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.form.ComboBox-maskRe"></a>
            <b>maskRe</b> : RegExp            <div class="mdesc">
                            An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#maskRe" href="output/Ext.form.TextField.html#maskRe">TextField</a></td>
    </tr>
        <tr class="config-row alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.form.ComboBox-maxHeight"></a>
            <b>maxHeight</b> : Number            <div class="mdesc">
                            The maximum height in pixels of the dropdown list before scrollbars are shown (defaults to 300)                        </div>
        </td>
        <td class="msource">ComboBox</td>
    </tr>
        <tr class="config-row inherited">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.form.ComboBox-maxLength"></a>
            <b>maxLength</b> : Number            <div class="mdesc">
                            Maximum input field length allowed (defaults to Number.MAX_VALUE)                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#maxLength" href="output/Ext.form.TextField.html#maxLength">TextField</a></td>
    </tr>
        <tr class="config-row inherited alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?