biolapgrid.html
来自「ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.」· HTML 代码 · 共 525 行 · 第 1/2 页
HTML
525 行
</tr></thead><tbody><tr><td><code>nWidth</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>the width of the viewport</td></tr><tr><td><code>nHeight</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>the height of the viewport</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">String</code></p><h3><a name="getFixedLeftHtmlCode"></a>getFixedLeftHtmlCode</h3><p>This returns the HTML code for the left fixed part of the OLAP grid. This includes the row headers and any fixed columns</p><h4>Syntax</h4><pre class="method-syntax">object.getFixedLeftHtmlCode(<span class="methodArgument">nScrollTop</span>, <span class="methodArgument">nWidth</span>, <span class="methodArgument">nHeight</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>nScrollTop</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>the distance from the top to start painting at</td></tr><tr><td><code>nWidth</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>the width of the viewport</td></tr><tr><td><code>nHeight</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>the height of the viewport</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">String</code></p><h3><a name="getFixedTopHtmlCode"></a>getFixedTopHtmlCode</h3><p>This returns the HTML code for fixed top part of the OLAP grid. This includes the column headers as well as any fixed rows of the body</p><h4>Syntax</h4><pre class="method-syntax">object.getFixedTopHtmlCode(<span class="methodArgument">nScrollLeft</span>, <span class="methodArgument">nWidth</span>, <span class="methodArgument">nHeight</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>nScrollLeft</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>the distance from the left to start painting at</td></tr><tr><td><code>nWidth</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>the width of the viewport</td></tr><tr><td><code>nHeight</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>the height of the viewport</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">String</code></p><h3><a name="getHeadersHtmlCode"></a>getHeadersHtmlCode</h3><p>This returns the HTML code for header of the OLAP grid</p><h4>Syntax</h4><pre class="method-syntax">object.getHeadersHtmlCode(<span class="methodArgument">nStartCol</span>, <span class="methodArgument">nWidth</span>, <span class="methodArgument">nHeight</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>nStartCol</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The column to start drawing at</td></tr><tr><td><code>nWidth</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The width of the viewport</td></tr><tr><td><code>nHeight</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The height of the viewport</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">String</code></p><h3><a name="getHtmlCode"></a>getHtmlCode</h3><p>This returns the HTML code for the body of the OLAP grid</p><h4>Syntax</h4><pre class="method-syntax">object.getHtmlCode(<span class="methodArgument">nStartCol</span>, <span class="methodArgument">nStartRow</span>, <span class="methodArgument">nWidth</span>, <span class="methodArgument">nHeight</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>nStartCol</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The column to start drawing at</td></tr><tr><td><code>nStartRow</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The row to start painting at</td></tr><tr><td><code>nWidth</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The width of the viewport</td></tr><tr><td><code>nHeight</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The height of the viewport</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">String</code></p><h3><a name="getRowHeadersHtmlCode"></a>getRowHeadersHtmlCode</h3><p>This returns the HTML code for the row headers.</p><h4>Syntax</h4><pre class="method-syntax">object.getRowHeadersHtmlCode(<span class="methodArgument">nStartRow</span>, <span class="methodArgument">nWidth</span>, <span class="methodArgument">nHeight</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>nStartRow</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The row to start painting at</td></tr><tr><td><code>nWidth</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The width of the viewport</td></tr><tr><td><code>nHeight</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The height of the viewport</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">String</code></p><h3><a name="print"></a>print</h3><p>This prints the OLAP grid</p><h4>Syntax</h4><pre class="method-syntax">object.print()</pre><h4>Parameters</h4><p>No arguments.</p><h4>Return Type</h4><p><code class="type">void</code></p><h3><a name="updateContentSize"></a>updateContentSize</h3><p>This is called when the size of the content has changed.</p><h4>Syntax</h4><pre class="method-syntax">object.updateContentSize()</pre><h4>Parameters</h4><p>No arguments.</p><h4>Return Type</h4><p><code class="type">void</code></p><h3><a name="updateSize"></a>updateSize</h3><p>This updates the sizes of different parts of the sub controls</p><h4>Syntax</h4><pre class="method-syntax">object.updateSize()</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 + =
减小字号Ctrl + -
显示快捷键?