---
url: https://akinozgen.github.io/datagrids/errors/DG010.md
description: >-
  One datagrids warning or error code — the message, when it happens and how to
  fix it.
---

# DG010: Module name collides with a grid member

```text
[datagrids DG010] Module name `{name}` collides with a core grid member.
```

This is a wiring mistake: the grid throws an `Error` with this message instead of half-working.

## When it happens

A module's `name` is a core grid member (`reload`, `columns`, `search`, `status`, …) or another property
the grid instance already has. A module's API is installed on the grid under its name, so the name must
be free. Data source modules are exempt.

## How to fix it

Rename the module, for example `name: "reloadButton"` instead of `"reload"`. The built-in modules
already use free names (`state`, `colVis`, `selection`, …). See [Writing a module](/reference/modules).

## Related

* [All warning codes](/errors/)
* [Grid options](/reference/options)
* [Static API & configure()](/reference/static)
