# defineDataGridModule (@salmonui/data-grid/engine)

> The defineDataGridModule function of @salmonui/data-grid/engine: Identity helper that keeps the module name, command union, and methods as literal types for the façade.

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

```ts
import { defineDataGridModule } from '@salmonui/data-grid/engine';
```

Also exported from `@salmonui/data-grid`.

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

## Reference

Kind: function

```ts
function defineDataGridModule<Row, State, Command extends DataGridCommand, const Name extends string, Methods extends ModuleMethods<Row> = {}>(module: DataGridModule<Row, State, Command, Name, Methods>): DataGridModule<Row, State, Command, Name, Methods>;
```

Identity helper that keeps the module name, command union, and methods as literal types for the façade.
