> For the complete documentation index, see [llms.txt](https://docs.vitaracharts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vitaracharts.com/grid-microchart-guide/reorder-columns.md).

# Reorder columns

### How to Reorder Columns?

Vitara grid  allows you to drag a column header and drop it to a new position.

#### 1. Drag and Drop

This is an intuitive way to rearrange columns directly in the grid.

* Steps:

1. Hover over the column header you want to move.
2. Click and hold the header.
3. Drag it to the desired location (you’ll see a visual indicator of the new position).
4. Release the mouse button to drop the column in the new position.

#### 2. Dropzone Settings

This method uses the grid’s column settings for manual reordering.

* Steps:

1. Open the Dropzone Settings.
2. Identify the list of columns displayed in the dropzone.
3. Rearrange the columns by dragging them to the desired order within the dropzone.
4. The changes will reflect in the grid layout automatically.

* &#x20;For a visual demonstration, please refer to the attached GIF file.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcdpxGFa8EaDq0g7kV-RfrQA281-7HYRj0mz6KBiCvb-PQ_3WvJ23qadu-vWsQG3jJFtuWsnHwDLeGZOZhg2tz42r8hWbnMqfoJr4kG5D4p73CdTlvEL3zbXihGuDFzHIjPH_W8Hg?key=HG8zy91NAlh2msPjWJsC0g" alt=""><figcaption></figcaption></figure>

#### Pivot column reorder&#x20;

* In Pivot Charts, you can reorder pivot groups and save the customized order. However, when Pivot Group Totals or Pivot Group Metric Totals are enabled, the column order cannot be stored.
* The pivot order is saved only when these options are disabled. If either option is turned on, the chart will automatically revert to the default column order.

<figure><img src="https://230207405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuiTPVEbVQnzR38vviPf%2Fuploads%2FPEFuSsDRnP53zz0Tj71v%2Fpivot%20order%20doc.gif?alt=media&amp;token=51d5e8d8-1de9-4cf6-82c3-961eb49bdedd" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.vitaracharts.com/grid-microchart-guide/reorder-columns.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
