⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bigrid.html

📁 ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<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>After changing the data call <code><a href="BiAbstractGrid.html#updateData">updateData</a></code> 			to redraw the body of the grid. When the columns have been changed you             should call <code><a href="BiAbstractGrid.html#updateColumns">updateColumns</a></code>.</p><h2>Method Details</h2><h3><a name="addRow"></a>addRow</h3><p>Adds a grid row to the grid</p><h4>Syntax</h4><pre class="method-syntax">object.addRow(<span class="methodArgument">oChild</span> [, <span class="methodArgument">oBefore</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>oChild</code></td><td><code class="type">						<code><a href="BiGridRow.html">BiGridRow</a></code>					</code></td><td class="optional-column"></td><td></td><td>The grid row child to add</td></tr><tr><td><code>oBefore</code></td><td><code class="type">						<code><a href="BiGridRow.html">BiGridRow</a></code>					</code></td><td class="optional-column"><img src="check.png" alt="checked"></td><td></td><td>If provided, the child is added before this row </td></tr></tbody></table><h4>Return Type</h4><p><code class="type">void</code></p><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="BiGridRow.html">BiGridRow</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="BiGridRow.html">BiGridRow</a></code> from.</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">					<code><a href="BiGridRow.html">BiGridRow</a></code>				</code></p><h3><a name="dataBind"></a>dataBind</h3><p>If the grid 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="getCellAtPoint"></a>getCellAtPoint</h3><p>Returns the grid cell at the given point. If no cell is found this returns null.</p><h4>Syntax</h4><pre class="method-syntax">object.getCellAtPoint(<span class="methodArgument">nClientX</span>, <span class="methodArgument">nClientY</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>nClientX</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The left position relative to the browser window</td></tr><tr><td><code>nClientY</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The top position relative to the browser window</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">					<code><a href="BiGridCell.html">BiGridCell</a></code>				</code></p><h3><a name="getRowAtPoint"></a>getRowAtPoint</h3><p>Returns the grid row at the given point. If no row is found this returns null.</p><h4>Syntax</h4><pre class="method-syntax">object.getRowAtPoint(<span class="methodArgument">nClientX</span>, <span class="methodArgument">nClientY</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>nClientX</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The left position relative to the browser window</td></tr><tr><td><code>nClientY</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The top position relative to the browser window</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">					<code><a href="BiGridRow.html">BiGridRow</a></code>				</code></p><h3><a name="hasRows"></a>hasRows</h3><p>Returns true if the grid has any rows</p><h4>Syntax</h4><pre class="method-syntax">object.hasRows()</pre><h4>Parameters</h4><p>No arguments.</p><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="removeAll"></a>removeAll</h3><p>Removes and disposes all rows from the grid</p><h4>Syntax</h4><pre class="method-syntax">object.removeAll()</pre><h4>Parameters</h4><p>No arguments.</p><h4>Return Type</h4><p><code class="type">void</code></p><h3><a name="removeRow"></a>removeRow</h3><p>Removes a grid row. Returns the removed row.</p><h4>Syntax</h4><pre class="method-syntax">object.removeRow(<span class="methodArgument">oChild</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>oChild</code></td><td><code class="type">						<code><a href="BiGridRow.html">BiGridRow</a></code>					</code></td><td class="optional-column"></td><td></td><td>The row to remove</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">					<code><a href="BiGridRow.html">BiGridRow</a></code>				</code></p><h3><a name="removeRowAt"></a>removeRowAt</h3><p>Removes the grid row at the given index. Returns the removed row.</p><h4>Syntax</h4><pre class="method-syntax">object.removeRowAt(<span class="methodArgument">i</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>i</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The index of the row to remove</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">					<code><a href="BiGridRow.html">BiGridRow</a></code>				</code></p><h3><a name="updateRowHeadersHeight"></a>updateRowHeadersHeight</h3><p>Updates the height of the row headers</p><h4>Syntax</h4><pre class="method-syntax">object.updateRowHeadersHeight()</pre><h4>Parameters</h4><p>No arguments.</p><h4>Return Type</h4><p><code class="type">void</code></p></body></html>

⌨️ 快捷键说明

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