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

📄 bitreeviewviewmanager.html

📁 ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</tbody></table><h4>Return Type</h4><p><code class="type">Number</code></p><h3><a name="getRowAt"></a>getRowAt</h3><p>Returns the row at the y position. y is the distance from the upper edge in pixels</p><h4>Syntax</h4><pre class="method-syntax">object.getRowAt(<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 distance (in pixels) from the upper edge.</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Number</code></p><h3><a name="getRowBounds"></a>getRowBounds</h3><p>Returns the boundaries for the row. This returns an object with left, top width and height fields describing the boundaries.</p><h4>Syntax</h4><pre class="method-syntax">object.getRowBounds(<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 index of the row</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Object</code></p><h3><a name="getShowExpandIcon"></a>getShowExpandIcon</h3><p>Whether to show the expand icon (plus/minus icon) for the given row</p><h4>Syntax</h4><pre class="method-syntax">object.getShowExpandIcon(<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 row index</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="getViewColumn"></a>getViewColumn</h3><p>Returns the visual column index for the index in the data model</p><h4>Syntax</h4><pre class="method-syntax">object.getViewColumn(<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 index in the data model</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Number</code></p><h3><a name="insertColumnBefore"></a>insertColumnBefore</h3><p>Inserts a column before another column</p><h4>Syntax</h4><pre class="method-syntax">object.insertColumnBefore(<span class="methodArgument">x</span>, <span class="methodArgument">beforeX</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 index of the column to insert</td></tr><tr><td><code>beforeX</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The index of the column to insert before</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">void</code></p><h3><a name="resetCache"></a>resetCache</h3><p>resets the cached properties. This is called after the columns are changed</p><h4>Syntax</h4><pre class="method-syntax">object.resetCache()</pre><h4>Parameters</h4><p>No arguments.</p><h4>Return Type</h4><p><code class="type">void</code></p><h3><a name="rowCountChanged"></a>rowCountChanged</h3><p>This is called when the row count changes.</p><h4>Syntax</h4><pre class="method-syntax">object.rowCountChanged(<span class="methodArgument">nRow</span>, <span class="methodArgument">nCount</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>nRow</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The row that change starts at</td></tr><tr><td><code>nCount</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The rows that was added or removed</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">void</code></p><h3><a name="scrollCellIntoView"></a>scrollCellIntoView</h3><p>Scrolls the tree view so that the given cell becomes visible</p><h4>Syntax</h4><pre class="method-syntax">object.scrollCellIntoView(<span class="methodArgument">x</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>x</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The column index of the cell to scroll into view</td></tr><tr><td><code>y</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The row index of the cell to scroll into view</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">void</code></p><h3><a name="scrollColumnIntoView"></a>scrollColumnIntoView</h3><p>Scrolls the tree view so that the given column becomes visible</p><h4>Syntax</h4><pre class="method-syntax">object.scrollColumnIntoView(<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 index of the column to scroll into view</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">void</code></p><h3><a name="scrollRowIntoView"></a>scrollRowIntoView</h3><p>Scrolls the tree view so that the given row becomes visible</p><h4>Syntax</h4><pre class="method-syntax">object.scrollRowIntoView(<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 index of the row to scroll into view</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">void</code></p><h3><a name="scrollSubtreeIntoView"></a>scrollSubtreeIntoView</h3><p>Scrolls a subtree into view (if possible)</p><h4>Syntax</h4><pre class="method-syntax">object.scrollSubtreeIntoView(<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 row index of the row whos subtree should be						scrolled into view</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">void</code></p><h3><a name="setColumnVisible"></a>setColumnVisible</h3><p>Sets whether a column should be visible or not</p><h4>Syntax</h4><pre class="method-syntax">object.setColumnVisible(<span class="methodArgument">x</span>, <span class="methodArgument">b</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 column index (in the data model) that should be hidden or shown</td></tr><tr><td><code>b</code></td><td><code class="type">Booleab</code></td><td class="optional-column"></td><td></td><td>Whether to hide or show the colunm</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">void</code></p><h3><a name="setColumnWidth"></a>setColumnWidth</h3><p>Sets the width of the xth column</p><h4>Syntax</h4><pre class="method-syntax">object.setColumnWidth(<span class="methodArgument">x</span>, <span class="methodArgument">w</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 index of the column to set the width for</td></tr><tr><td><code>w</code></td><td><code class="type">Number</code></td><td class="optional-column"></td><td></td><td>The new width</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">void</code></p></body></html>

⌨️ 快捷键说明

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