# setAlignedGrids

Configures aligned Grid connections and returns the result.

Canonical: https://grid.syidax.com/docs/methods/setAlignedGrids/

<a id="meaning"></a>

## What does this API do?

Configures aligned Grid connections and returns the result.

<a id="contract"></a>

## Exact input and result types

```typescript
setAlignedGrids(input: SyGridAlignedGridsInput): Promise<SyGridAlignedGridsResult>
```

| Arguments | Required | Type |
| --- | --- | --- |
| input | Required | SyGridAlignedGridsInput |

The return type is `Promise<SyGridAlignedGridsResult>`.

<a id="usage"></a>

## Usage flow

After registering and initializing the Grid element, call grid.setAlignedGrids(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

<a id="types"></a>

## Read related types

- [SyGridAlignedGridsInput](https://grid.syidax.com/docs/types/SyGridAlignedGridsInput.md)
- [SyGridAlignedGridsResult](https://grid.syidax.com/docs/types/SyGridAlignedGridsResult.md)

<a id="recipes"></a>

## Feature explanations and examples

- [Row height and pinned rows](https://grid.syidax.com/docs/features/row-layout.md) — Row height, top/bottom pinned rows, full-width rows, and merged cells are separate layout features. Choose based on whether you need persistent summaries or wide detail content.
