bicombobox.html

来自「ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.」· HTML 代码 · 共 508 行 · 第 1/2 页

HTML
508
字号
<h2>Events</h2><table><thead><tr><td>Name</td><td>Type</td><td class="bubbles-header">Bubbles</td><td>Descripton</td></tr></thead><tbody><tr><td><a name="change"></a><code>change</code></td><td><code class="type"><code><a href="BiEvent.html">BiEvent</a></code></code></td><td class="bubbles-column"></td><td>				Fires when the <code><a href="#selectedItem">selectedItem</a></code> changes.			</td></tr><tr><td><a name="databind"></a><code>databind</code></td><td><code class="type"><code><a href="BiEvent.html">BiEvent</a></code></code></td><td class="bubbles-column"></td><td>Called after the component has been data bound</td></tr><tr><td><a name="textchanged"></a><code>textchanged</code></td><td><code class="type"><code><a href="BiEvent.html">BiEvent</a></code></code></td><td class="bubbles-column"></td><td>				Fires when the text changes in the text field of the combo box. To				get the new text use the <code><a href="#text">text</a></code> property.			</td></tr></tbody></table><h2>Static Methods</h2><p>None.</p><h2>Static Fields</h2><table><thead><tr><td>Name</td><td>Type</td><td>Descripton</td></tr></thead><tbody><tr><td><code>BUTTON_IMAGE</code></td><td><code class="type">String</code></td><td>The path to the image to represent the down arrow on the drop down button</td></tr></tbody></table><h2>Remarks</h2><p>None.</p><h2>Method Details</h2><h3><a name="createItemFromDataRow"></a>createItemFromDataRow</h3><p>				This method is called when using data binding. This is used to				create a new <code><a href="BiComboBoxItem.html">BiComboBoxItem</a></code> from a				<code><a href="BiDataRow.html">BiDataRow</a></code>.			</p><h4>Syntax</h4><pre class="method-syntax">object.createItemFromDataRow(<span class="methodArgument">oRow</span>)</pre><h4>Parameters</h4><table><thead><tr><td>Name</td><td>Type</td><td class="optional-header">Optional</td><td>Default</td><td>Descripton</td></tr></thead><tbody><tr><td><code>oRow</code></td><td><code class="type"><code><a href="BiDataRow.html">BiDataRow</a></code></code></td><td class="optional-column"></td><td></td><td>						This is the row to create a new <code><a href="BiComboBoxItem.html">BiComboBoxItem</a></code> from.					</td></tr></tbody></table><h4>Return Type</h4><p><code class="type"><code><a href="BiComboBoxItem.html">BiComboBoxItem</a></code></code></p><h3><a name="dataBind"></a>dataBind</h3><p>				If the combo box has a <code><a href="#dataSource">dataSource</a></code> then this binds that				data source to the list.			</p><h4>Syntax</h4><pre class="method-syntax">object.dataBind()</pre><h4>Parameters</h4><p>No arguments.</p><h4>Return Type</h4><p><code class="type">void</code></p><h3><a name="findString"></a>findString</h3><p>				Searches the <code><a href="BiComboBoxItem.html">items</a></code>				for an item that starts with the given string. This match is case				insensitive. If no item is found this returns <code>null</code>			</p><h4>Syntax</h4><pre class="method-syntax">object.findString(<span class="methodArgument">sText</span> [, <span class="methodArgument">nStartIndex</span>])</pre><h4>Parameters</h4><table><thead><tr><td>Name</td><td>Type</td><td class="optional-header">Optional</td><td>Default</td><td>Descripton</td></tr></thead><tbody><tr><td><code>sText</code></td><td><code class="type">String</code></td><td class="optional-column"></td><td></td><td>The text to search for</td></tr><tr><td><code>nStartIndex</code></td><td><code class="type">Number</code></td><td class="optional-column"><img src="check.png" alt="checked"></td><td><code>0</code></td><td>The index to start the searching from</td></tr></tbody></table><h4>Return Type</h4><p><code class="type"><code><a href="BiComboBoxItem.html">BiComboBoxItem</a></code></code></p><h3><a name="findStringExact"></a>findStringExact</h3><p>				Searches the <code><a href="BiComboBoxItem.html">items</a></code>				for an item that matches the given string. This match is case				insensitive. If no item is found this returns <code>null</code>			</p><h4>Syntax</h4><pre class="method-syntax">object.findStringExact(<span class="methodArgument">sText</span> [, <span class="methodArgument">nStartIndex</span>])</pre><h4>Parameters</h4><table><thead><tr><td>Name</td><td>Type</td><td class="optional-header">Optional</td><td>Default</td><td>Descripton</td></tr></thead><tbody><tr><td><code>sText</code></td><td><code class="type">String</code></td><td class="optional-column"></td><td></td><td>The text to search for</td></tr><tr><td><code>nStartIndex</code></td><td><code class="type">Number</code></td><td class="optional-column"><img src="check.png" alt="checked"></td><td><code>0</code></td><td>The index to start the searching from</td></tr></tbody></table><h4>Return Type</h4><p><code class="type"><code><a href="BiComboBoxItem.html">BiComboBoxItem</a></code></code></p><h3><a name="findUserValueExact"></a>findUserValueExact</h3><p>				Searches the <code><a href="BiComboBoxItem.html">items</a></code>				for an item that has the given user value. If no item is found this returns <code>null</code>			</p><h4>Syntax</h4><pre class="method-syntax">object.findUserValueExact(<span class="methodArgument">oValue</span> [, <span class="methodArgument">nStartIndex</span>])</pre><h4>Parameters</h4><table><thead><tr><td>Name</td><td>Type</td><td class="optional-header">Optional</td><td>Default</td><td>Descripton</td></tr></thead><tbody><tr><td><code>oValue</code></td><td><code class="type">Object</code></td><td class="optional-column"></td><td></td><td>The user value to search for</td></tr><tr><td><code>nStartIndex</code></td><td><code class="type">Number</code></td><td class="optional-column"><img src="check.png" alt="checked"></td><td><code>0</code></td><td>The index to start the searching from</td></tr></tbody></table><h4>Return Type</h4><p><code class="type"><code><a href="BiComboBoxItem.html">BiComboBoxItem</a></code></code></p><h3><a name="findValueExact"></a>findValueExact</h3><p>				Depreciated. Use <code><a href="#findUserValueExact">findUserValueExact</a></code> instead.			</p><h4>Syntax</h4><pre class="method-syntax">object.findValueExact(<span class="methodArgument">oValue</span> [, <span class="methodArgument">nStartIndex</span>])</pre><h4>Parameters</h4><table><thead><tr><td>Name</td><td>Type</td><td class="optional-header">Optional</td><td>Default</td><td>Descripton</td></tr></thead><tbody><tr><td><code>oValue</code></td><td><code class="type">Object</code></td><td class="optional-column"></td><td></td><td>The value to search for</td></tr><tr><td><code>nStartIndex</code></td><td><code class="type">Number</code></td><td class="optional-column"><img src="check.png" alt="checked"></td><td><code>0</code></td><td>The index to start the searching from</td></tr></tbody></table><h4>Return Type</h4><p><code class="type"><code><a href="BiComboBoxItem.html">BiComboBoxItem</a></code></code></p></body></html>

⌨️ 快捷键说明

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