# AgNoRowsOverlayComponent documentation

**Kind:** component

**Selector:** `si-ag-no-rows-overlay`

```
import { AgNoRowsOverlayComponent } from '@siemens/element-ng/ag-grid';
```

Custom AG Grid no rows overlay component using Element Empty State. This component is displayed when the grid has no data to show.

Example:

Using with custom parameters

```typescript
<ag-grid-angular
  [noRowsOverlayComponent]="AgNoRowsOverlayComponent"
  [noRowsOverlayComponentParams]="{
    icon: 'element-technical-search',
    heading: 'No results found',
    content: 'Try adjusting your filters.'
  }"
/>
```

```
component AgNoRowsOverlayComponent
```

#### Attributes and Methods

##### agInit

[Source for agInit](<https://github.com/siemens/element/blob/main/projects/element-ng/ag-grid/components/ag-no-rows-overlay.component.ts#L61-L65>)

```
agInit(params: INoRowsOverlayParams<any, any> & { icon: string; heading: string; content?: string; }): void
```

#### Parameters

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [params](<https://github.com/siemens/element/blob/main/projects/element-ng/ag-grid/components/ag-no-rows-overlay.component.ts#L61-L61>) | `INoRowsOverlayParams<any, any> & { icon: string; heading: string; content?: string; }` |  |  |

**Returns:** [void](<https://www.typescriptlang.org/docs/handbook/2/functions.html#void>)
