# DataGridDialogProps (@salmonui/data-grid)

> The DataGridDialogProps interface of @salmonui/data-grid: Built-in dialog settings (editing.dialogProps).

Canonical: https://salmonui.dev/docs/reference/data-grid/DataGridDialogProps

```ts
import type { DataGridDialogProps } from '@salmonui/data-grid';
```

Entry index: https://salmonui.dev/docs/reference/data-grid (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid.md).

## Reference

Kind: interface

```ts
interface DataGridDialogProps {
    readonly title?: string;
    readonly width?: number | string;
    readonly className?: string;
    readonly style?: CSSProperties;
    readonly showCloseButton?: boolean;
}
```

Built-in dialog settings (`editing.dialogProps`).

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `title` | `readonly title?: string;` | optional | Header text. Default: the localized add / edit title. |
| `width` | `readonly width?: number \| string;` | optional | CSS width. Default 480px (capped by the viewport). |
| `className` | `readonly className?: string;` | optional |  |
| `style` | `readonly style?: CSSProperties;` | optional |  |
| `showCloseButton` | `readonly showCloseButton?: boolean;` | optional | Close button in the header. Default true. |
