# GridPlugin

> _Since v0.2.3_

Minimal plugin interface for type-checking.
This interface is defined here to avoid circular imports with BaseGridPlugin.
All plugins must satisfy this shape (BaseGridPlugin implements it).

#### Example

```typescript
// Using plugins in grid config
import { SelectionPlugin, FilteringPlugin } from '@toolbox-web/grid/all';

grid.gridConfig = {
  plugins: [
    new SelectionPlugin({ mode: 'row' }),
    new FilteringPlugin({ debounceMs: 200 }),
  ],
};

// Accessing plugin instance at runtime (preferred)
const selection = grid.getPluginByName('selection');
if (selection) {
  selection.selectAll();
}
```

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| <span id="name"></span>`name` | <code>string</code> | Unique plugin identifier |
| <span id="version"></span>`version` | <code>string</code> | Plugin version |
| <span id="styles"></span>`styles?` | <code>string</code> | CSS styles to inject into the grid |
