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

📄 bigridrow.html

📁 在流览器上仿CS界面的JAVASCRIPT脚本
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><!--
Generated using api.website.xsl version 2003-07-17
-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>BiGridRow</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link type="text/css" rel="stylesheet" href="api.css"><script type="text/javascript">

				function showDerivedClasses() {
					var ul = document.getElementById("api-derived-classes");
					var lis = ul.childNodes;
					var l = lis.length;
					for (var i = 1; i < l; i++)
						lis[i].style.display = "";
					lis[0].style.display = "none";
				}

			</script></head>
<body>
<h1 id="BiGridRow">BiGridRow</h1>
<p>
		This class represents the rows in a <code><a href="BiGrid.html">grid</a></code>.
		The row contains <code><a href="BiGridCell.html">cells</a></code> that...
	</p>
<p>This class extends
		<code><a href="BiAbstractGridRow.html">BiAbstractGridRow</a></code>
		and therefore all methods and fields available for
		<code><a href="BiAbstractGridRow.html">BiAbstractGridRow</a></code>
		are also available for <code>BiGridRow</code>.</p>
<ul class="partial-class-tree">
<li><code><a href="BiObject.html">BiObject</a></code><ul>
<li><code><a href="BiAbstractGridRow.html">BiAbstractGridRow</a></code><ul><li><code>BiGridRow</code><ul id="api-derived-classes"><li><code><a href="BiGridChartRow.html">BiGridChartRow</a></code></li></ul></li></ul></li></ul>
</li>
</ul>
<h2>Constructor</h2>
<p><code>

	new BiGridRow([<span class="methodArgument">oData</span>])</code></p>
<h3>Parameters</h3>
<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>oData</code></td>
<td><code class="type">Object[]</code></td>
<td class="optional-column"><img src="check.png" alt="checked"></td>
<td></td>
<td>
				This is an array containing the data to be used for each cell.
				If this argument is left out the cells will be have to be added
				using <code><a href="#addCell">addCell</a></code>.
			</td>
</tr>
</tbody>
</table>
<h2>Properties</h2>
<table>
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td class="get-header">get</td>
<td class="set-header">set</td>
<td>Descripton</td>
</tr>
</thead>
<tbody>
<tr>
<td><a name="cells"></a><code>cells</code></td>
<td><code class="type"><code><a href="BiGridCell.html">BiGridCell[]</a></code></code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"></td>
<td>
				Returns the cells for the row.
			</td>
</tr>
<tr>
<td><a name="cssClassName"></a><code>cssClassName</code></td>
<td><code class="type">String</code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"></td>
<td>
				Returns the CSS class name used for the row.
			</td>
</tr>
<tr>
<td><a name="grid"></a><code>grid</code></td>
<td><code class="type"><code><a href="BiGrid.html">BiGrid</a></code></code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"></td>
<td>Returns the grid component that the row is part of</td>
</tr>
<tr>
<td><a name="html"></a><code>html</code></td>
<td><code class="type">String</code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"></td>
<td>
				Returns the HTML for the row and all its cells. This is used
				by the <code><a href="BiAbstractGrid.html#treeBodyHtml">BiAbstractGrid gridBodyHtml
				property</a></code> when drawing the grid.
			</td>
</tr>
<tr>
<td><a name="nextSiblingRow"></a><code>nextSiblingRow</code></td>
<td><code class="type"><code><a href="BiGridRow.html">BiGridRow</a></code></code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"></td>
<td>
				Returns the next grid row sibling.
			</td>
</tr>
<tr>
<td><a name="previousSiblingRow"></a><code>previousSiblingRow</code></td>
<td><code class="type"><code><a href="BiGridRow.html">BiGridRow</a></code></code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"></td>
<td>
				Returns the previous grid row sibling.
			</td>
</tr>
<tr>
<td><a name="rowHeaderHtml"></a><code>rowHeaderHtml</code></td>
<td><code class="type">String</code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"></td>
<td>
				Returns the HTML used for the row header for the row.
			</td>
</tr>
<tr>
<td><a name="rowHeaderLabelHtml"></a><code>rowHeaderLabelHtml</code></td>
<td><code class="type">String</code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"></td>
<td>
				Returns the HTML for the text on the row header used for the row.
				Override this method to define what to show on the row header.
			</td>
</tr>
<tr>
<td><a name="rowIndex"></a><code>rowIndex</code></td>
<td><code class="type">Number</code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"></td>
<td>The index of the row</td>
</tr>
</tbody>
</table>
<h2>Methods</h2>
<table>
<thead>
<tr>
<td>Name</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<tr>
<td><code><a href="#getCell">getCell</a></code></td>
<td>
				Returns the cell for the given column index.
			</td>
</tr>
</tbody>
</table>
<h2>Events</h2>
<p>None.</p>
<h2>Static Methods</h2>
<p>None.</p>
<h2>Static Fields</h2>
<p>None.</p>
<h2>Remarks</h2>
<p>
		Changing the grid row does not automatically update the grid. The
		<code><a href="BiGrid.html">grid</a></code> will have to be updated manually.
	</p>
<h2>Method Details</h2>
<h3><a name="getCell"></a>getCell</h3>
<p>
				Returns the cell for the given column index.
			</p>
<h4>Syntax</h4>
<pre class="method-syntax">object.getCell(<span class="methodArgument">nCol</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>nCol</code></td>
<td><code class="type">Number</code></td>
<td class="optional-column"></td>
<td></td>
<td>The column to get the cell for</td>
</tr>
</tbody>
</table>
<h4>Return Type</h4>
<p><code class="type"><code><a href="BiGridCell.html">BiGridCell</a></code></code></p>
</body>
</html>

⌨️ 快捷键说明

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