Class

# DesktopTableFrozenRows

<div class="rst-class">

forsearch

</div>

Frozen Rows

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

How many rows of a `DesktopTable</api/user_interface/desktop/desktoptable>` stay pinned while the rows between them scroll vertically.

The object is handed out by `DesktopTable.FrozenRows<desktoptable.frozenrows>` and is always the same instance. <span class="title-ref">Top</span> pins that many rows below the column header, <span class="title-ref">Bottom</span> pins that many rows above the lower edge - useful for a totals row.

## Properties

<div class="rst-class">

table-centered_columns_3_and_4

</div>

| Name                                    | Type                               | Read-Only | Shared |
|-----------------------------------------|------------------------------------|-----------|--------|
| `Bottom<desktoptablefrozenrows.bottom>` | `Integer</api/data_types/integer>` |           |        |
| `Top<desktoptablefrozenrows.top>`       | `Integer</api/data_types/integer>` |           |        |

## Property descriptions

<div id="desktoptablefrozenrows.bottom">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

DesktopTableFrozenRows.Bottom

**Bottom** As `Integer</api/data_types/integer>`

> Rows pinned at the bottom edge. Number of rows frozen at the bottom edge. The rows stay at the lower edge while the rows before them scroll, which is how a totals row is kept in view.
>
> This example sets the rows pinned at the bottom edge:
>
> ``` xojo
> Table1.FrozenRows.Bottom = 0
> ```

<div id="desktoptablefrozenrows.top">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

DesktopTableFrozenRows.Top

**Top** As `Integer</api/data_types/integer>`

> Rows pinned at the top edge. Number of rows frozen at the top edge. The rows stay below the column header while the rows after them scroll.
>
> This example sets the rows pinned at the top edge:
>
> ``` xojo
> Table1.FrozenRows.Top = 10
> ```

## Compatibility

|                       |         |
|-----------------------|---------|
| **Project Types**     | Desktop |
| **Operating Systems** | All     |

<div class="seealso">

`DesktopTable</api/user_interface/desktop/desktoptable>`

</div>
