# Sheets and Layout

The Kendo UI for Vue Spreadsheet organizes its data in sheets. This article describes how users and developers can manage the sheets and control the layout of the grid.

## Managing Sheets

The sheets bar at the bottom of the Spreadsheet lists all sheets in the workbook. Users can:

* Select a sheet by clicking its tab.
* Add a new sheet by using the **Add** button.
* Rename or delete a sheet from the options menu of its tab. The last remaining sheet cannot be deleted.
* Browse the sheets through the sheets menu when the tabs do not fit in the available width.

To manage the sheets programmatically, use the [methods](https://www.telerik.com/kendo-vue-ui-develop/components/spreadsheet/methods) of the Spreadsheet:

```js
const sheets = spreadsheetRef.value.sheets();
const first = sheets[0];

first.name(); // Returns the name of the sheet.
spreadsheetRef.value.activeSheet(first); // Activates the sheet.
```

## Freezing Rows and Columns

Frozen rows and columns stay visible while the user scrolls the rest of the sheet. Users can freeze panes from the **Freeze Panes** tool of the [toolbar](https://www.telerik.com/kendo-vue-ui-develop/components/spreadsheet/toolbar), which offers the following options:

* **Freeze panes**—Freezes the rows above and the columns to the left of the selected cell.
* **Freeze rows**—Freezes the rows above the selected cell.
* **Freeze columns**—Freezes the columns to the left of the selected cell.
* **Unfreeze**—Removes all frozen rows and columns.

To freeze rows and columns by default, set the `frozenRows` and `frozenColumns` fields of the sheet in the JSON data:

```js
const sheets = [
    {
        name: 'Orders',
        frozenRows: 1,
        frozenColumns: 1,
        rows: [
            /* ... */
        ]
    }
];
```

## Grid Lines

The `showGridLines` field of the sheet controls whether the grid lines are visible. Users can toggle them from the **Grid Lines** tool of the toolbar.

```js
const sheets = [
    {
        name: 'Orders',
        showGridLines: false,
        rows: [
            /* ... */
        ]
    }
];
```

## Suggested Links

* [Toolbar](https://www.telerik.com/kendo-vue-ui-develop/components/spreadsheet/toolbar)
* [Methods](https://www.telerik.com/kendo-vue-ui-develop/components/spreadsheet/methods)
* [Import and Export](https://www.telerik.com/kendo-vue-ui-develop/components/spreadsheet/import-export)
