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

📄 biolapgridviewmanager.html

📁 ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<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>nDim</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The dimension index</td></tr><tr><td><code>nPos</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The start position of the cell</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Number</code></p><h3><a name="getAxisCellIsVisible"></a>getAxisCellIsVisible</h3><p>Whether the axis cell is visible. For this to be true it is enough that any of the cells the axis cell covers is visible</p><h4>Syntax</h4><pre class="method-syntax">object.getAxisCellIsVisible(<span class="methodArgument">nAxis</span>, <span class="methodArgument">nDim</span>, <span class="methodArgument">nPos</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>nAxis</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The axis that the dimension is part of</td></tr><tr><td><code>nDim</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The index of the dimension</td></tr><tr><td><code>nPos</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The start position of the axis cell</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="getAxisCellPositionWidth"></a>getAxisCellPositionWidth</h3><p>The number of positions the axis header cell takes up. This only includes visible cells</p><h4>Syntax</h4><pre class="method-syntax">object.getAxisCellPositionWidth(<span class="methodArgument">nAxis</span>, <span class="methodArgument">nDim</span>, <span class="methodArgument">nPos</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>nAxis</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The axis that the dimension is part of</td></tr><tr><td><code>nDim</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The index of the dimension</td></tr><tr><td><code>nPos</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The start position of the axis cell</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Number</code></p><h3><a name="getAxisCellStartPosition"></a>getAxisCellStartPosition</h3><p>This takes a position and returns the position where the axis cell starts. This asks the data model for this information since the data model might be able to do a more efficient implementation than looping over all cells.</p><h4>Syntax</h4><pre class="method-syntax">object.getAxisCellStartPosition(<span class="methodArgument">nAxis</span>, <span class="methodArgument">nDim</span>, <span class="methodArgument">nPos</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>nAxis</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The axis to the cell is part of</td></tr><tr><td><code>nDim</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The index of the dimension</td></tr><tr><td><code>nPos</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>A position that is part of the axis cell.</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Number</code></p><h3><a name="getAxisCellWidth"></a>getAxisCellWidth</h3><p>This returns the width of a cell in the column header for the given axis. This width is the number of pixels the cell should take up.</p><h4>Syntax</h4><pre class="method-syntax">object.getAxisCellWidth(<span class="methodArgument">nDim</span>, <span class="methodArgument">nPos</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>nDim</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The dimension index</td></tr><tr><td><code>nPos</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The start position of the cell</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Number</code></p><h3><a name="getAxisDimensionCount"></a>getAxisDimensionCount</h3><p>This returns the number of visible dimensions for the given axis</p><h4>Syntax</h4><pre class="method-syntax">object.getAxisDimensionCount(<span class="methodArgument">nAxis</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>nAxis</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The axis to get the dimension count for</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Number</code></p><h3><a name="getAxisDimensionVisible"></a>getAxisDimensionVisible</h3><p>Whether the dimension is visible</p><h4>Syntax</h4><pre class="method-syntax">object.getAxisDimensionVisible(<span class="methodArgument">nAxis</span>, <span class="methodArgument">nDim</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>nAxis</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The axis that the dimension is part of</td></tr><tr><td><code>nDim</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The index of the dimension</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="getAxisPositionDistance"></a>getAxisPositionDistance</h3><p>This returns the distance (in positions) between 2 cells. This subtracts any hidden cells between the 2 cells</p><h4>Syntax</h4><pre class="method-syntax">object.getAxisPositionDistance(<span class="methodArgument">nAxis</span>, <span class="methodArgument">p1</span>, <span class="methodArgument">p2</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>nAxis</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The axis the cells are part of</td></tr><tr><td><code>p1</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>One of the positions</td></tr><tr><td><code>p2</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The other position</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Number</code></p><h3><a name="getCellAt"></a>getCellAt</h3><p>This return the cell at a the given location in the OLAP grid. This returns an object with an x and y field.</p><h4>Syntax</h4><pre class="method-syntax">object.getCellAt(<span class="methodArgument">nLeft</span>, <span class="methodArgument">nTop</span>, <span class="methodArgument">nStartCol</span>, <span class="methodArgument">nStartRow</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>nLeft</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The left position (in pixels) to get the cell at</td></tr><tr><td><code>nTop</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The top position (in pixels) to get the cell at</td></tr><tr><td><code>nStartCol</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The starting column of the viewport</td></tr><tr><td><code>nStartRow</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The starting row of the viewport</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Object</code></p><h3><a name="getCellHeight"></a>getCellHeight</h3><p>Returns the height for the given cell</p><h4>Syntax</h4><pre class="method-syntax">object.getCellHeight(<span class="methodArgument">y</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>y</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The position of the cell</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Number</code></p><h3><a name="getCellLeft"></a>getCellLeft</h3><p>Returns the left position of a cell. This is relative to the first cell and it takes hidden columns into account</p><h4>Syntax</h4><pre class="method-syntax">object.getCellLeft(<span class="methodArgument">mx</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>mx</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The position of the cell</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Number</code></p><h3><a name="getCellTop"></a>getCellTop</h3><p>Returns the top position of a cell. This is relative to the first cell and it takes hidden rows into account</p><h4>Syntax</h4><pre class="method-syntax">object.getCellTop(<span class="methodArgument">my</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>my</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The position of the cell</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Number</code></p><h3><a name="getCellVisible"></a>getCellVisible</h3><p>Returns whether the cell is visible</p><h4>Syntax</h4><pre class="method-syntax">object.getCellVisible(<span class="methodArgument">nAxis</span>, <span class="methodArgument">nPos</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>nAxis</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The axis to get the cell visibility for</td></tr><tr><td><code>nPos</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The position of the cell</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="getCellWidth"></a>getCellWidth</h3><p>Returns the width for the given cell</p><h4>Syntax</h4><pre class="method-syntax">object.getCellWidth(<span class="methodArgument">x</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>x</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The position of the cell</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Number</code></p><h3><a name="getDimensionAt"></a>getDimensionAt</h3><p>Returns the dimension index at the distance x from the edge</p><h4>Syntax</h4><pre class="method-syntax">object.getDimensionAt(<span class="methodArgument">nAxis</span>, <span class="methodArgument">y</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>nAxis</code></td><td><code class="type">Number</code></td>

⌨️ 快捷键说明

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