# Freeze Columns

## Three ways to freeze columns

We can freeze columns in many ways. Here is how,

### i. Freeze the column while adding a new one

1. Click on the `+` button to add a new column.
2. Provide column `Name`, `Key name` and rest of the values based on your choice.
3. Check `Frozen?` checkbox for the column.

<figure><img src="/files/AuSBRfSXR5c1Z90eJ4An" alt=""><figcaption><p>Freezing column while adding new one</p></figcaption></figure>

### ii. **Freezing already created column**

1. Click on the Pencil (Edit) icon for any created column.
2. Check the `Frozen?` checkbox.
3. Click on `Save`.

<figure><img src="/files/pljjEUMpgvgvQiJsZsk4" alt=""><figcaption><p>Editing the column to mark it as freeze</p></figcaption></figure>

### iii. Freezing column with [Runtime Schema](/features/runtime-schema.md)

We can freeze the column while providing a custom schema too with the `isFrozen` flag in our frontend code.

```javascript
showWidget({
  schema: [
    {
      key: 'email',
      name: 'Email',
      type: 'Email',
      isFrozen: true
    }
  ]
});
```

## Effects on Sample File Generation

The generated sample file will have specified columns freeze on the left side. So they won't gets hidden if we scroll to the right.

<figure><img src="/files/GhbBPCrZUEqy5NIciP4v" alt=""><figcaption><p>Excel view of freezed columns</p></figcaption></figure>

## Effects on Spreadsheet Editor

While importing data spreadsheet editor freezes two default `Checkbox` and `Sr. No.` Columns. Other mentioned columns get frozen as per schema.

<figure><img src="/files/LS0ZLMQF554wmgtJxD0h" alt=""><figcaption><p>Freezing 2 default and 2 mentioned columns in editor</p></figcaption></figure>

***

If you have any questions, suggestions, or comments. Feel free to reach out to us over [**Discord**](https://discord.impler.io). We’re constantly improving to deliver the best Data Importer for your product, and we value your input.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.impler.io/features/freeze-columns.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
