📄 bilist.html
字号:
<td> Searches the <code><a href="BiListItem.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> </td></tr><tr><td><code><a href="#findUserValueExact">findUserValueExact</a></code></td><td> Searches the <code><a href="BiListItem.html">list items</a></code> for an item that has the given user value. If no item is found this returns <code>null</code> </td></tr><tr><td><code><a href="#findValueExact">findValueExact</a></code></td><td> Depreciated. Use <code><a href="#findUserValueExact">findUserValueExact</a></code> instead. </td></tr></tbody></table><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 selected items change</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></tbody></table><h2>Static Methods</h2><p>None.</p><h2>Static Fields</h2><p>None.</p><h2>Remarks</h2><p> Only <code><a href="BiListItem.html">BiListItems</a></code> should be added to the list. Other components might result in unexpected behaviors. </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="BiListItem.html">BiListItem</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="BiListItem.html">BiListItem</a></code> from. </td></tr></tbody></table><h4>Return Type</h4><p><code class="type"><code><a href="BiListItem.html">BiListItem</a></code></code></p><h3><a name="dataBind"></a>dataBind</h3><p> If the list 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="BiListItem.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="BiListItem.html">BiListItem</a></code></code></p><h3><a name="findStringExact"></a>findStringExact</h3><p> Searches the <code><a href="BiListItem.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="BiListItem.html">BiListItem</a></code></code></p><h3><a name="findUserValueExact"></a>findUserValueExact</h3><p> Searches the <code><a href="BiListItem.html">list 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 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="BiListItem.html">BiListItem</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="BiListItem.html">BiListItem</a></code></code></p></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -